First time here? Check out the FAQ!
answered 2017-09-13 08:30:09 +0100
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():
from __future__ import print_function
my_script.sage
%load
load()
sage: %load my_script.sage