Categories:
Cloud (204)
Entertainment (11)
Facebook (43)
General (50)
Life (31)
Programming (64)
Technology (430)
Testing (4)
Tools (488)
Twitter (5)
Wearable (26)
Web Design (44)
Collections:
Other Resources:
Jupyter Notebook Configuration Python File
What Is Jupyter Notebook Configuration Python File?
✍: FYIcenter.com
Jupyter Notebook Configuration Python File is a configuration file
in Python code format. You can use it to store "jupyter notebook"
command options.
The default location of Jupyter Notebook Configuration Python File is ~/.jupyter/jupyter_notebook_config.py
You can use "jupyter notebook --generate-config" command to generate a copy of the configuration file with all options listed and commented out.
fyicenter$ jupyter notebook --generate-config Writing default config to: ~/.jupyter/jupyter_notebook_config.py
Then update options to meet your requirement with an editor. For example, the following update sets 3 options.
fyicenter$ vi ~/.jupyter/jupyter_notebook_config.py ## The IP address the notebook server will listen on. # Default: 'localhost' c.NotebookApp.ip = '192.168.1.200' ## The port the notebook server will listen on (env: JUPYTER_PORT). # Default: 8888 c.NotebookApp.port = 8080 # Default: True c.NotebookApp.open_browser = False ...
Disable the Configuration JSON File and run the "jupyter notebook" command again. It will read those options from the configuration Python file.
fyicenter$ mv ~/.jupyter/jupyter_notebook_config.json \ ~/.jupyter/jupyter_notebook_config-bck.json 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
⇒ Turn on Password Protection on Jupyter Server
⇐ Jupyter Notebook Configuration JSON File
2021-11-12, 3386🔥, 0💬
Popular Posts:
What are different versions of Microsoft PowerPoint? As of 2016, Microsoft PowerPoint has been relea...
How to use my iPhone and iPad to set up and manage Chromecast device on my TV? I have a Chromecast d...
How to remove Microsoft Teams form my Windows 7 system? I don't want it any more. You can remove Mic...
How to test I/O performance on INTEL SSDPEKKF256G8L SSD (Solid State Disk) with SQLIO? INTEL SSDPEKK...
What is "Send to Bluetooth" in Microsoft Word? Should I disable it? "Send to Bluetooth" is a COM Add...