更改jupyter-notebook默认workspace目录

来源:互联网 发布:centos 路由器 编辑:程序博客网 时间:2024/05/18 11:46
1.打开 cmd ,输入命令 jupyter notebook --generate-config,将生成 jupyter_notebook_config.py文件

2.在C:\Users\Administrator\.jupyter 中的文件找到文件 jupyter_notebook_config.py

3.用记事本打开找到 # The directory to use for notebooks and kernels.
修改这一句c.NotebookApp.notebook_dir = u' 

c.NotebookApp.notebook_dir = u'D:/01MachineLearning/TensorFlow/tfWorkspace'


注:将#号删除,WIN复制路径符号"\ "改为符号“/”

原创粉丝点击