在jupyter_notebook_config.py文件中添加路径:

jupyter notebook 更改启动工作目录无效问题

 启动后发现报错:

jupyter notebook 更改启动工作目录无效问题

 这里说是jupyter_notebook_config.py这个文件的编码问题,猜测是添加的路径\没有转义,因此添加r改为原生字符串:

jupyter notebook 更改启动工作目录无效问题

再次运行: 

jupyter notebook 更改启动工作目录无效问题

搞定,清爽的目录:

jupyter notebook 更改启动工作目录无效问题

相关文章: