Ask Your Question

Revision history [back]

You have either to add the line from __future__ import print_function at the top of the file my_script.sage or to use the magic command %load instead of load():

sage: %load my_script.sage