ipython Installation and Usage


Example

Like the built-in python interactive shell, IPython is a REPL (Read-Evaluate-Print Loop) shell, with a variety of features that make it more pleasant to use for day-to-day Python development than the built-in REPL shell.

Installation

To install it:

pip install ipython

Or, via Anaconda:

# To install into the active environment:
$ conda install ipython 

# Or, to create a new environment with IPython installed:
$ conda create -n <env_name> ipython

Or, via Enthought Canopy:

$ enpkg ipython

Usage

After installation, run it using your default Python (2 or 3) using:

ipython

Or to use Python 3:

ipython3

ipython shell