Step 1
Run the below command in Anaconda prompt to find the path to file jupyter_notebook_config.py
jupyter notebook --generate-config
Step 2
Open the file in a text editor, from the location identified in Step1
Step 3
Search for the following line.
#c.NotebookApp.notebook_dir = ''
Step 4
Uncomment the line and add the directory like in the example below and save the config file
Note: In the below example, I hadto add an extra backslash to ignore the escape sequence '\n'
Run the below command in Anaconda prompt to find the path to file jupyter_notebook_config.py
jupyter notebook --generate-config
Step 2
Open the file in a text editor, from the location identified in Step1
Step 3
Search for the following line.
#c.NotebookApp.notebook_dir = ''
Step 4
Uncomment the line and add the directory like in the example below and save the config file
Note: In the below example, I hadto add an extra backslash to ignore the escape sequence '\n'
c.NotebookApp.notebook_dir = "D:\Lab\python\\notebook"
No comments:
Post a Comment