Ask Your Question

Revision history [back]

Use the save and load commands to store arbitrary data. This is in the Sage notebook:

sage: v = [1..10]
sage: save(v,DATA+'v')
<<QUIT and RESTART your worksheet>>
sage: load(DATA+'v')
[1, 2, 3, 4, 5, 6, 7, 8, 9, 10]