0

I have a Jupyter notebook where I have done an intensive operation. I would like to copy the Jupyter notebook to a different file, and resume operations from there. Unfortunately, dill.dump_session errors out with a fairly deep error on the zmq backend. Is there any way I can simply copy the notebook to a different name, and connect the current notebook's connection to the new name so that I can resume operations from that file?

Rahul Gopinath
  • 808
  • 10
  • 24
  • Just out of curiosity, why would you want to do this? – Ruthger Righart Sep 04 '19 at 08:16
  • that is correct. it is not possible. the python kernel work cant be transferred at all to a new session. – MEdwin Sep 04 '19 at 08:39
  • have you thought about `threading`? that might help out with the intense operation. – MEdwin Sep 04 '19 at 08:41
  • Or share data between notebooks: https://stackoverflow.com/questions/31621414/share-data-between-ipython-notebooks – yascho Sep 04 '19 at 08:42
  • @yascho %store magic requires me to list out the variables to share. I simply want to keep the current notebook running, just under a different name. – Rahul Gopinath Sep 04 '19 at 12:33
  • @RuthgerRighart I simply want to change the URL by which I access the notebook, but keep the analysis done so far available. – Rahul Gopinath Sep 04 '19 at 12:35
  • If it's not possible to duplicate notebooks, you can run notebooks in a virtual machine and then start duplicated versions of that VM. – yascho Sep 04 '19 at 13:06

0 Answers0