Ask Your Question

Revision history [back]

if you write your own Sage code, the better use the file extension .sage, not .py. Note that in .py files not all Sage library might be available.

There is also a catch that if you have .sage file, say, blah.sage, then Sage will create blah.py on the fly, possibly overwriting the existing blah.py.