Can I autosave a running jupyter python laptop without opening it in a browser tab?

So I have a long python laptop.

While it opens on my browser tab, it is automatically saved every 2 minutes, and life is good.

Can I save it automatically even if I close the browser tab?

The kernel is already working when I close the tab, which is great.

It looks like a “screen”, but in jupyter

EDIT: even if I left the tab open in my browser, I noticed that after 24 hours the “kernel status” in the upper right corner becomes “disabled”, although the working cell still has output, connecting the server website

+6
source share
1 answer

No, you cannot (yet), and there will be no reason for them to do this. The reason is that as soon as you close the tab, some critical information is lost because it is in the memory of the Javascript virtual machine that launches the page.

Any update sent by the kernel after you close the page is lost. For example, try the following.

  • create cell with sleep(10);print('Hello')
  • Run cell
  • Quickly close and reopen the tab.
  • Hello will never be printed.

The mapping between the Request for Execution and the Response to Execution has been lost and cannot be restored.

Jupyter . , API. 2017 - . JupyterLab, , . .

, "" ( ) ( , ), , , , , . , ? ?

, JupyterLab, , 80% .

+1

All Articles