First time here? Check out the FAQ!
answered 2014-06-29 04:41:44 +0100
Rename your file to my.sage
Then, when you run sage my.sage it will be automatically preparsed. A my.py with all the needed extra python code will be produced and loaded automatically.