更改jupyter notebook默認工作路徑

打開cmd,輸入jupyter notebook --generate-config

找到jupyter_notebook_config.py這個文件的所在位置,打開

修改# The directory to use for notebooks and kernels.下面的

       # c.NotebookApp.notebook_dir = ”​爲

       c.NotebookApp.notebook_dir = ‘指定的工作路徑’​(注意將#號刪除)

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章