Linux Install Ipython Configure the Python development environment Tutorial _linux

Source: Internet
Author: User

I. Ipython INTRODUCTION

IPython is an interactive shell that works better than the default terminal, supports automatic indentation, and has built-in many useful functions and functions. Can be used on any operating system.

Two. Installation method

1.PIP Online Installation

Pip Install Ipython
Pip install "Ipython[notebook]"

2. Download and install

You can download the installation package to GitHub, switch to the directory and run the following script

Python setup.py Install

Three. Simple use

Open the Linux terminal and enter it on the command line

root@linux:/# Ipython
Will enter the interactive shell of Ipython and will display some information about Ipython, in [1]: You can enter Python code

Python 2.7.6 (default, June 2015, 17:58:13) 
Type "Copyright", "credits" or "license" for the more information. 
IPython 4.0.0–an Enhanced Interactive Python. 
? -> Introduction and Overview of IPython ' s features. 
%quickref-> Quick Reference. 
Help-> the Python ' s own Help system. 
Object? -> details about ' object ', use ' object?? ' for extra details. 
In [1]: (Enter code here)

For example, print "Hello Ipython" and enter the following code

In [1]: print (' Hello Ipython '), 
hello Ipython in 
[2]:

Install Ipython to this Linux environment configure the Python development environment, and if you want to configure the development environment under Windows, you need to install Anaconda, an installation-managed program that makes it easy to perform the Python upgrade. And brought a lot of Python libraries.

The above is the entire content of this article, I hope to help you learn.

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.