Jupyter Notebook, formerly known as Ipython Notebook, is an interactive notebook that supports the operation of 40+ programming languages. Can be used to write beautiful interactive documents.
Linux, Jupyter notebook installation process can refer to the Jupyter official website, specific, may only need a word can be done:
Install Jupyter
After installation, the Jupyter notebook can be turned on by running Jupyter notebook at the terminal. Let's take a look at a Jupyter notebook example (Figure 1), with an intuitive impression:
Figure 11 a Jupyter Notebook
For example, if you want to explain your program to someone else, you might want to create a new word, copy the code, and explain each piece of code. This will have a few questions, 1) code format is not good to see; 2) The color of the code is lost; 3) The code and the text interpretation part of the distinction is not obvious. With Jupyter Notebook, you can keep your code in the editor format and look formal. In addition, the code that is copied can be run . After tapping the code, press Shift+enter or the Run cell key above to get the result of the code running. Here, when writing notebook, the cell is the basic unit, there are several types of cells: code, markdown, heading , etc. if set to the code type, Inside the content is to be able to run; Heading type of cell can help us to set the title (first level, level two, level three, etc.), markdown type of cell allows us to use markdown syntax to edit the text.
Figure 2 Jupyter Noteboook code example
After the document is written, it is saved as a generic . IPYNB format, but can also be saved in other formats, such as Python (. py), Markdown (. md), HTML (. html), ReST (. rst), PDF via Latex ( . pdf), Presentation (. html).
Reference documents:
[1] Jupyter notebook QuickStart: Http://www.tuicool.com/articles/a6JRr2Y
What is Jupyter Notebook?