Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

If you do os.chdir(...) and then os.getcwd() in the same SageNB cell, you will get the expected answer. Each cell seems to set its directory separately. In any case, when you are using save, load, etc., in SageNB, then use absolute paths: save("/home/jim/.../file") rather than just save("file").