修改Jupyter Notebook的默认工作目录
作者:互联网
1、进入配置目录
cd ~/.jupyter
2、找到并修改 jupyter_notebook_config.py (如果没有此文件,执行: jupyter notebook --generate-config 生成此文件)
vi jupyter_notebook_config.py
3、修改 c.NotebookApp.notebook_dir (记得去掉最前面的‘#’)
c.NotebookApp.notebook_dir = '/Users/yanglei/.jupyter/notebooks'
4、wq保存,运行jupyter
jupyter notebook
标签:jupyter,py,notebook,Notebook,默认,Jupyter,NotebookApp,config,dir 来源: https://www.cnblogs.com/yanglei-xyz/p/15955515.html