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