✍Tips and Tricks in Python
TL;NR:
This is the method I used most:
cd
into the directory or a parent directory (with the intended directory you will work nested in it).Then just run the command jupyter notebook
There are many ways you can change Jupiter notebook startup folder. Here I put a collection of them below for your reference.
1. Change Jupyter Notebook startup folder (Windows)
- Copy the Jupyter Notebook launcher from the menu to the desktop.
- Right click on the new launcher and change the Target field, change %USERPROFILE% to the full path of the folder which will contain all the notebooks.
- Double-click on the Jupyter Notebook desktop launcher (icon shows [IPy]) to start theJupyter Notebook App. The notebook interface will appear in a new browser window or tab. A secondary terminal window (used only for error logging and for shut down) will be also opened.
2. Change Jupyter Notebook startup folder (Mac OS)
To launch Jupyter Notebook App:
- Click on spotlight, type
terminal
to open a terminal window.