安裝完 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、大功告成。