Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

save or save_session seems not to work on very large expressions. But cPickle seems to work. http://docs.python.org/release/2.5/lib/module-cPickle.html http://www.sagemath.org/doc/tutorial/interactive_shell.html

I cite the second link: (In Python, saving and loading is accomplished using the cPickle module. In particular, a Sage object x can be saved via cPickle.dumps(x, 2). Note the 2!)