Skip to main content

A Python shell with automatic history, dynamic object introspection, easier configuration, command completion, access to the system shell and more.

# To start an interactive IPython session:
ipython

# To enter an interactive IPython session after running a Python script:
ipython -i <script.py>

# To create default IPython profile:
ipython profile create

# To print the path to the directory for the default IPython profile:
ipython locate profile

# To clear the IPython history database, deleting all entries:
ipython history clear