erased code in jupyter


#1

Hey everyone,
I wrote a code that got erased in jupyter notebook.
The file is still there but it is empty ):
Is there a way to restore it?

thanks,
Amit.


#2

There may be a backup in the hidden directory .ipynb_checkpoints if you made a check point (ctrl-s or clicked the save button). You can retrieve it via File > Revert to Checkpoint in the notebook menu.