| 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
| 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
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.