1-1
jupyter 變更文件根目錄
【步驟】
- Open cmd (or Anaconda Prompt) and run: jupyter notebook --generate-config.
- This writes a file to C:\Users\username\.jupyter\jupyter_notebook_config.py.
- Browse to the file location and open it in an Editor
- Search for the following line in the file: #c.NotebookApp.notebook_dir = ''
- Replace by c.NotebookApp.notebook_dir = 'c:/jupyter-working'
- Remove the # at the beginning of the line to allow the line to execute
- restart anaconda's jupyter
【參考資料】:
https://stackoverflow.com/questions/35254852/how-to-change-the-jupyter-start-up-folder