How to close IPython Notebook properly?

前端 未结 14 1162
渐次进展
渐次进展 2020-12-04 06:34

How to close IPython Notebook properly?

Currently, I just close the browser tabs and then use Ctrl+C in the terminal.
Unfortunately, neither e

14条回答
  •  悲&欢浪女
    2020-12-04 07:34

    Actually, I believe there's a cleaner way than killing the process(es) using kill or task manager.

    In the Jupyter Notebook Dashboard (the browser interface you see when you first launch 'jupyter notebook'), browse to the location of notebook files you have closed in the browser, but whose kernels may still be running.

    iPython Notebook files appear with a book icon, shown in green if it has a running kernel, or gray if the kernel is not running.

    Just select the tick box next to the running file, then click on the Shutdown button that appears above it.

    This will properly shut down the kernel associated with that specific notebook.

提交回复
热议问题