生成配置文件
jupyter-notebook –generate-config
在配置文件中添加工作路径
打开编辑文件
gedit ~/.jupyter/jupyter_notebook_config.py
修改自己的jupyter工作路径
# c.NotebookApp.notebook_dir = ''
c.NotebookApp.notebook_dir = '/home/junli/codes/Jupyter_projects'
jupyter-notebook –generate-config
打开编辑文件
gedit ~/.jupyter/jupyter_notebook_config.py
修改自己的jupyter工作路径
# c.NotebookApp.notebook_dir = ''
c.NotebookApp.notebook_dir = '/home/junli/codes/Jupyter_projects'