IPython notebook installation and use guide

Source: Internet
Author: User
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.

    1. 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:

    1. 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:

  1. Shift + EnterAll 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.

  2. Ctrl + EnterThe 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

Related Article

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.