When I reopen a project I am working on in the Jupyter Notebook, and trying to add code, the cell restarts at '1' and the only way I can continue to work with my previous objects present is by rerunning all the code. Is there a better way?
- run a jupyter server
- open a new notebook with one cell:
- close the notebook
- re-open the notebook
- add another cell under the 1st:
it would output
2, showing that the variable you had set is still in memory in the kernel
But, if you completely shutdown the jupyter server, or if you shutdown the kernel of your notebook, then you'll need to re-run the whole thing.