📜  启动 jupyter notebooks 时设置根目录 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:28.500000             🧑  作者: Mango

代码示例1
# 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'