While in Sage, run "load_attach_mode()". This should return "(False, True)", and the second entry "True" says that Sage will save the preparsed file to the directory SAGE_TMP, defined (in sage.misc.misc) by "SAGE_TMP='%s/temp/%s/%s/'%(DOT_SAGE, HOSTNAME, os.getpid())". Oh, and the py file should have a long prefix, it won't just be "walk.py", but it should end with something like "walk_sage_0.py".
↧