First time here? Check out the FAQ!
answered 2013-04-06 14:25:03 +0100
Rename your file to something like filename.sage. Then run it as
filename.sage
$ sage filename.sage