怎么修改Anaconda 中 jupyter notebook 文件的保存位置

安装完 anaconda ,在jupyter notebook 中创建的文件的默认保存位置为C:User电脑名

修改保存位置

1、打开 anaconda prompt

2、输入 jupyter notebook --generate-config

3、按照上图中的路径,找到 jupyter_notebbook_config.py 文件,找到 c:NotebookApp.notebook_dir 这个变量,将你设置的路径卸载这里,用引号引起来,并删除注释

4、完成上面的步骤,接下来通过 jupyter notebook进入属性,删除 %USERPROFILE%

 

5、大功告成。

原文地址:https://www.cnblogs.com/jcjc/p/11170652.html