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.