I recently discovered storemagic in ipython, and I would like to use it to save my work across sessions. However, in some sessions I generate a large number of variables, and I would like to say at the end of the session %store all, or something like that, so that I can easily %store -r and continue where I left off.
Is there any way I can do this? Note that I do not care much about the commands history and such, what I want is not to have to run the scripts over and over everytime ipython closes, freezes or crashes.
save_session()
function which will try to save all the variables in your session. There isn't currently an option for this with %store.dump_session()
, sorry.