Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Where is the sage save or load dir and how do I change it?

How in the heck does sage notebook (for Linux) manage files? I can't figure where it's saving them or how to load one. I tried os.getcwd() and got a temp file '/tmp/tmpJcEfeK' so I tried changing to the download directory, where it looked like an sws file was saved, with os.chdir("/home/jim/Downloads") That appeared to work since there was no error message. But then I did getcwd again and was still in the temp file. I just want to load a python script "diffusion.py" that's in the downloads folder but that fails. Finding where Sage actually is or changing it is a nightmare.