首页 > 其他 > 详细

jupyter 修改启动时目录

时间:2018-10-18 12:44:40      阅读:204      评论:0      收藏:0      [点我收藏+]

打开cmd,执行

 jupyter notebook --generate-config

 将在当前路径下生成一个文件: jupyter_notebook_config.py

C:\Users\sheng> jupyter notebook --generate-config
Writing default config to: C:\Users\sheng\.jupyter\jupyter_notebook_config.py

 打开文件,找到如下部分:

## The directory to use for notebooks and kernels.
#c.NotebookApp.notebook_dir = ‘‘

 去掉注释,修改为指定的路径,如:

## The directory to use for notebooks and kernels.
c.NotebookApp.notebook_dir = u‘E:\\jupyternotebook‘

 重新启动jupyter即可。

 

jupyter 修改启动时目录

原文:https://www.cnblogs.com/see2802/p/9809800.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!