Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Note that %attach also accept relative paths, so instead of changing where your files are, you can change where sage is started from. Assume that the sage command belongs to your path (e.g. by symlinking it from /usr/local/bin/sage), you just go to your favorite working directory and type:

sage: %attach my_file.sage

Depending on where you are, th following also works:

sage: %attach ../my_file.sage
click to hide/show revision 2
No.2 Revision

Note that %attach also accept relative paths, so instead of changing where your files are, you can change where sage is started from. Assume that the sage command belongs to your path (e.g. by symlinking it from /usr/local/bin/sage), you just go to run sage from your favorite working directory and type:

sage: %attach my_file.sage

Depending on where you are, th following also works:

sage: %attach ../my_file.sage