Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python3.* does print('...') but not print '...' #9

Open
jcguu95 opened this issue Aug 5, 2020 · 1 comment
Open

python3.* does print('...') but not print '...' #9

jcguu95 opened this issue Aug 5, 2020 · 1 comment

Comments

@jcguu95
Copy link

jcguu95 commented Aug 5, 2020

I believe sagemath has completely moved to python3.*, which support print("...") but not print "..." by default. This raises a conflict in the example usage

#+BEGIN_SRC  sage :session foo
  print 'This code will be evaluated in the process buffer *Sage<foo>*.'
#+END_SRC

I think it's better to change it to

#+BEGIN_SRC sage foo.sage
  1+1
#+END_SRC

for the favor of those who are new.

@reverland
Copy link

Yeah, example should be updated #7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants