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.

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