Author: Ai Wen, a master's degree in computer science, an in-house training lecturer and a gold medal interviewer, a senior algorithm expert in the company, is now working in a BAT first-tier factory.
Email: [email protected]
Content: Programming with Ai Wenwen " Learn Python from Zero Basics "
Contents of this section
● Jupyter extension installation
● Jupyter uses
Jupyter extension installation
1. The environment for installing the Jupyter extension package
2. Install the Jupyter Notebook extension package
# install jupyter
pip install jupyter
# Install the jupyter_contrib_nbextensions library
python -m pip install jupyter_contrib_nbextensions
jupyter contrib nbextension install --user --skip-running-check
#Install the automatic specification code function dependency package
pip install autopep8
The following is an operation for each command, and you can refer to the detailed installation process
$ pip install jupyter
。。。。。。。。。。。。。。
$ python -m pip install jupyter_contrib_nbextensions
................
$ jupyter contrib nbextension install --user --skip-running-check
..................
$ pip install autopep8
3. Check the corresponding extended function option
If there is no problem with the above installation, enter the following jupyter notebook command on the command line, and a browser window will automatically pop up to open Jupyter Notebook, as shown below.
Then click the Nbextensions option, the following interface will appear, and then remember to cancel the checkmark option above.
Jupyter uses
1. Create a new notebook document
The default URL of the local notebook is: http://localhost:8888
If you want the notebook to open the specified directory, just enter the directory and execute the command
2. Introduction to jupyter notebook interface
More manuals
shortcut key operation
Common shortcut keys for both modes
○ Shift+Enter , execute the code of this unit and jump to the next unit
○ Ctrl+Enter , execute the code of this unit and stay in this unit
markdown demo
Thank you for your attention and let's learn and progress together! ! !