## Running Scripts in Sage(math)

January 30, 2010 by doxdrum

You can put your Sage commands in a file with extension “.sage”. That’s a Sage script. You run this script as:

$ sage /path/to/myscript.sage

See this link for more information: http://mvngu.wordpress.com/2009/10/08/how-to-use-sage-as-a-python-library/

**Thanks to mvngu for this useful information, as well as his original post!**

### Like this:

Like Loading...

*Related*

Posted in Linux, Mathematics, Physics, Science | Tagged C++, Calculation, CLI, Command, Computers, Functions, How to, HowTo, Karmic, Koala, Line, Linux, Maple, Math, Mathematica, Mathematics, Matlab, Programming, Pyhton, Running, Sage, Sagemath, Script, Symbolic, Terminal, Tips and Tricks, Ubuntu | Leave a Comment

## Leave a Reply