Saving state of Jupyter Notebook

Is there a way to save “session” in Jupyter? I’m using my personal desktop, and I’m shutting it down at night. So I would like to resume next day where I finished, without the need to restart kernel.

I found this on reddit:

Is it a viable solution? (it is for python 2.7, though)

You could maybe hibernate instead of shutting down?

1 Like

Duh. Yeah, I’ll do that :smiley: SImple solutions are the best.

As a side note, I’m using Ubuntu with Gnome shell, and to put it to sleep you need to hold alt (that makes power-off button change to sleep-button). It took me awhile first time to get this.

1 Like

What about this https://stackoverflow.com/questions/34342155/how-to-pickle-or-store-jupyter-ipython-notebook-session-for-later