What is Jupyter Notebook?

Source: Internet
Author: User
Tags jupyter jupyter notebook

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?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.