Gray Wolf Corporation

Change Jupyter notebook default folder

Jupyter defaults to saving your workbooks in the C:\users\username folder in Windows.

To change this, go into Anaconda Navigator, select your environment and Open Terminal.

python1

From the command prompt >: jupyter notebook –-generate-config

This will create a file called jupyter_notebook_config.py in your user directory under the .jupyter folder.

Search for: #c.NotebookApp.notebook_dir = '' and replace with the new folder desitination.

Remember to use forward slash and remove the hash comment.

c.NotebookApp.notebook_dir = 'C:/Users/user-directory/Source/Workspaces/notebooks'

python2

Restart Anaconda and check it out.

An unhandled error has occurred. Reload 🗙