:::


1-1 jupyter 變更文件根目錄

【步驟】

  1. Open cmd (or Anaconda Prompt) and run: jupyter notebook --generate-config.
  2. This writes a file to C:\Users\username\.jupyter\jupyter_notebook_config.py.
  3. Browse to the file location and open it in an Editor
  4. Search for the following line in the file: #c.NotebookApp.notebook_dir = ''
  5. Replace by c.NotebookApp.notebook_dir = 'c:/jupyter-working'
  6. Remove the # at the beginning of the line to allow the line to execute
  7. restart anaconda's jupyter

【參考資料】:

https://stackoverflow.com/questions/35254852/how-to-change-the-jupyter-start-up-folder


:::

好站推薦

[ more... ]