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.
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
After installation, run it using your default Python (2 or 3) using:
ipython
Or to use Python 3:
ipython3