Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The .sagews format is specific to sagemathcloud, so you have to save your worksheet in another format, like .sws or .rst if possible. Or you can save it as plain text and copy the contents by hand on yous local notebook.

click to hide/show revision 2
No.2 Revision

The .sagews format is specific to sagemathcloud, so you have to save your worksheet in another format, like .sws or .rst if possible. Or you can save it as plain text and copy the contents by hand on yous your local notebook.

To launch the Sage notebook, you should run the following command from a terminal:

sage -n
click to hide/show revision 3
No.3 Revision

The .sagews format is specific to sagemathcloud, so you have to save your worksheet in another format, like .sws or .rst if possible. Or you can save it as plain text and copy the contents by hand on your local notebook.

To launch the Sage notebook, you should run the following command from a terminal:

sage -n

If you want to run your worksheet from the command line, you should copy its content into a text file whose name has a .sage extension, as if it was a Python file (with the exception that it will be preparsed), and from the command line, run:

sage: %runfile your_file.sage