make a jupyter notebook run even if the page is closed
我爱笔记本。我是如此爱他们,以至于我有许多人同时在不同的浏览器中运行,有时在不同的远程客户端上运行。我错过了一个功能:关闭与正在运行的笔记本相对应的选项卡时,它警告相应的运行将停止。
我的问题:
How do I make a jupyter notebook resume it's run even if the page is closed ?
这样我可以:
- 在另一个浏览器(可能在平板电脑等远程计算机上)中重新打开标签页,
- 在需要时重新启动浏览器,
- 关闭运行时间较长的设备,以便以后检查。
据我了解,客户端-服务器体系结构可以实现这一目标,但是并发运行可能存在问题...
PS:我在GitHub上创建了一个问题
实际上,这在github问题中得到了回答:
takluyver commented on 26 Apr 2017 : Anything already running in the
notebook will keep running, and the kernel it started for that will
stay running - so it won't lose your variables. However, any output
produced while the notebook isn't open in a browser tab is lost; there
isn't an easy way to change this until we have the notebook server
able to track the document state, which has been on the plan for ages.
谢谢!