ipython

Interactive computing environment for Python with enhanced REPL capabilities

brewmacoslinux
Try with needOr install directly
Source

About

Interactive computing in Python

Commands

ipython

Examples

Start an interactive Python shell with enhanced features$ ipython
Execute a Python script with IPython enhancements$ ipython script.py
Run a single Python command and exit$ ipython -c "import numpy; print(numpy.array([1,2,3]))"