Jupyter Notebook in Windows

Home Folder for Notebooks

The default home directory for Notebooks is User's Home Directory. You can create a new directory. Copy the path to the folder.

Generate config script of Jupyter Notebook by:

jupyter notebook --generate-config

The path to file config should be displayed. You can open this file by typing:

notepad "C:\Users\USER\.jupyter\jupyter_notebook_config.py"

Update home directory for Notebooks under "c.NotebookApp.notebook_dir". Noted that you need to remove the hagstag, change backslash (\) to forward slash (/) for the path.

Let see the Zen of Python, by Tim Peters

You can now test the new directory:

You can check more about Jupyter Notebook on another tutorial by datacamp.com