Change the default storage path of jupyter notebook files

  1. Create a new folder in the location where you intend to store the file
  2. Open Anaconda Prompt
    insert image description here
  3. Copy the path according to the result
    Open the jupyter_notebook_config.py file
    insert image description here
  4. Find #c.NotebookApp.notebook_dir = '', remove the "#" in front of this line, then set the new path in single quotes, and save the configuration file
    insert image description here
  5. Find the "Jupyte Notebook" shortcut key, right-click - Properties - Target,
    remove the following "%USERPROFILE%/", then click "Apply", "OK"
  6. Restart Jupyte Notebook, at this point:

insert image description heresuccess

Guess you like

Origin blog.csdn.net/weixin_43545069/article/details/103481962