1 | initial version |
In SageMath, there is save_session
and load_session
which you can use to save and load a session:
sage: a = 5
sage: filename = 'session-2022-05-03.sobj'
sage: save_session(filename)
sage: del a
sage: load_session(filename)
sage: print(a)
5
2 | No.2 Revision |
In SageMath, there is save_session
and load_session
which you can use to save and load a session:
sage: a = 5
sage: filename = 'session-2022-05-03.sobj'
sage: save_session(filename)
sage: del a
sage: load_session(filename)
sage: print(a)
5
This should work the same in the Jupyter notebook.
3 | No.3 Revision |
In SageMath, there is save_session
and load_session
which you can use to save and load a session:
sage: a = 5
sage: filename = 'session-2022-05-03.sobj'
'session-2022-05-03'
sage: save_session(filename)
sage: del a
sage: load_session(filename)
sage: print(a)
5
This should work the same in the Jupyter notebook.