LinuxCommandLibrary

ipython

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

TLDR

Start a REPL (interactive shell)

$ ipython
copy


Enter an interactive IPython session after running a Python script
$ ipython -i [script.py]
copy


Create default IPython profile
$ ipython profile create
copy


Print the path to the directory for the default IPython profile
$ ipython locate profile
copy


Clear the IPython history database, deleting all entries
$ ipython history clear
copy

Copied to clipboard