Jupyter Notebook Configuration JSON File

Q

What Is Jupyter Notebook Configuration JSON File?

✍: FYIcenter.com

A

Jupyter Notebook Configuration JSON File is a configuration file in JSON format. You can use it to store "jupyter notebook" command options.

The default location of Jupyter Notebook Configuration JSON File is ~/.jupyter/jupyter_notebook_config.json

Here is an example of Jupyter Notebook Configuration JSON File that sets 3 options.

fyicenter$ vi ~/.jupyter/jupyter_notebook_config.json 

{
  "NotebookApp": {
    "ip": "192.168.1.200",
    "port": 8080,
    "open_browser": false
  }
}

Shutdown your Jupyter server and run the "jupyter notebook" command again. It will read those options from the configuration file.

fyicenter$ jupyter notebook --no-browser --ip=192.168.1.10 --port=8080

[W LabApp] 'ip' has moved from NotebookApp to ServerApp. 
  This config will be passed to ServerApp. 
  Be sure to update your config before our next release.
  ...
[I LabApp] JupyterLab application directory is 
  /usr/local/anaconda3/share/jupyter/lab

 

Jupyter Notebook Configuration Python File

Setup Jupyter Server for Remote Access

Installing and Running Jupyter

⇑⇑ Jupyter Tutorials

2021-11-12, 2886🔥, 0💬