Answers for "root directory jupyter notebook"

19

find root directory of jupyter notebook

import os
os.getcwd()
Posted by: Guest on May-23-2020
2

set the root directory when starting jupyter notebooks

# To change the Jupyter Notebooks startup directory:
1. From the command line (shell) run: jupyter notebook --generate-config
2. View the config file at: ~/.jupyter/jupyter_notebook_config.py
3. Change the line: c.NotebookApp.notebook_dir = '' to
	c.NotebookApp.notebook_dir = '/path/to/desired/startup/directory'
Posted by: Guest on September-10-2020

Python Answers by Framework

Browse Popular Code Answers by Language