The cause of

Every time I change my computer or create a Jupyter Notebook environment, I have to find several websites, configure the development environment, and record all the configurations. In the future, I don’t need to frequently use the search engine, but only to find a few configurations.

Introduction to the

Jupyter Notebook is an open source Web application that creates shared documents containing code, formulas, visualizations, and narrative text;

  • Supports over 40 programming languages
  • Shareable notebook
  • Interactive output
  • Integrate big data tools

configuration

1. Generate a configuration file

jupyter notebook --generate-config
Copy the code

2. Set the password

jupyter notebook password
Copy the code

3. Modify the configuration file

Vim ~/.jupyter/jupyter_notebook_config.py /jupyter /jupyter_notebook_config.py /jupyter /jupyter_notebook_config.py /jupyter /jupyter_notebook_config.py /jupyter /jupyter_notebook_config.py /jupyter /jupyter_notebook_config.py /jupyter /jupyter_notebook_config.py Open_browser = False # to disable automatic browser opening after startup. Port = 8888 # to set port 8888, or others, such as 1080,8080, etcCopy the code

4. Start the notebook

jupyter notebook
Copy the code

5. Remote access

Enter http://hostip:8888 in your browser. Hostip can be a local address, LAN address, or remote server address (such as the VPS Internet address of Aliyun, AWS, or other cloud server vendors).

Topic 6.

pip install jupyterthemes

# list available themes
# onedork | grade3 | oceans16 | chesterish | monokai | solarizedl | solarizedd
jt -l

# select theme...
jt -t chesterish
Copy the code

More details can be found on the project’s Github home page: github.com/dunovank/ju…

Reference

  1. Jupyter. Readthedocs. IO/en/latest/p…
  2. Github.com/dunovank/ju…

The original link: c1rew. Making. IO / 2019/05/12 /…