How to change your Jupyter Lab home/working directory

  Рет қаралды 16,569

Polleywag

Polleywag

3 жыл бұрын

List of steps:
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. Copy the link and 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:/the/path/to/home/folder/'
Make sure you use forward slashes in your path, backslashes could be used if placed in double quotes even if the folder name contains spaces as such: "D:\yourUserName\Any Folder\More Folders\"
6. Remove the # at the beginning of the line to allow the line to execute. Save the file.
7. Open cmd (or Anaconda Prompt) and run jupyter lab. You will see your home directory being set to the new path.

Пікірлер
First steps with Jupyter Lab: How is it different from the notebook?
8:24
Python and Pandas with Reuven Lerner
Рет қаралды 24 М.
Eating & Buying Everything in One Color ft/ epic pink room makeover
18:12
小天使和小丑太会演了!#小丑#天使#家庭#搞笑
00:25
家庭搞笑日记
Рет қаралды 34 МЛН
fine, here's villager news 2024..
7:44
DanTDM Live
Рет қаралды 299 М.
6 Most Disturbing Trends in Gaming Happening Right Now
14:44
Outside Xtra
Рет қаралды 163 М.
Sagittarius Your Darkest Days are Behind You! October - December 2024
21:53
لحظاتی پیش جنگنده های اسرائیلی از زمین بلند شدند!!!
12:25
Jupyter Lab is AWESOME For Data Science
14:12
NeuralNine
Рет қаралды 78 М.
My Daughter's EXTREME HALLOWEEN TRANSFORMATIONS *Instagram Controls*
9:30