| 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!)
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.