This article mainly introduces the installation and use of Ipython Notebook guide, Small series feel very good, and now share to everyone, but also for everyone to do a reference. Let's take a look at it with a little knitting.
Installing Ipython Notebook
I am using Anaconda3, so I bring my own interactive Ipython. If you are not using anaconda, you can use the command:
Pip Install Ipython
2. Run Ipython Notebook
Using win+r to open the Run window and enter Ipython notebook, the final display of the window has the following results:
Description Ipython notebook is installed correctly, this command launches a Web service in the local default 8888 window. You can see that the browser is automatically opened to jump to:
http://localhost:8888/tree#, the following interface is displayed:
You can now create a new notebook by using new in the upper right corner. Edit notebook can choose the code mode and text editing mode, you can also export a variety of files in different formats, can be said to be very convenient ...
3. Quick action
You can use the ENTER key in an input box, or cell, to indicate a newline, that is, you can enter multiple statements in a cell.
A command in a cell can run in two ways:
Shift + Enter
All code inside the applet will run in the current Ipython interactive namespace, and the result will be immediately displayed in the output area below the input box, and a new input box will appear.
Ctrl + Enter
The combo key only displays the result of the run and does not create a new input box
Related recommendations:
A detailed introduction to Ipython Notebook
Ipython notebook installation and use
Use of IPython Notebook