修改Jupyter Notebook默认工作路径
1、打开cmd,输入jupyter notebook --generate-config
可以看到路径为D:\Users……找到此路径修改jupyter_notebook_config.py文件
2、## The directory to use for notebooks and kernels.
# c.NotebookApp.notebook_dir = ‘’
将其改为
## The directory to use for notebooks and kernels.
c.NotebookApp.notebook_dir = ‘E:\Jupyter’
其中E:\Jupyter为我的工作空间,你可以改成你自己的,