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