Important

This documentation covers IPython versions 6.0 and higher. Beginning with version 6.0, IPython stopped supporting compatibility with Python versions lower than 3.3 including all versions of Python 2.7.

If you are looking for an IPython version compatible with Python 2.7, please use the IPython 5.x LTS release and refer to its documentation (LTS is the long term support release).

Module: terminal.ipapp

The Application object for the command line ipython program.

3 Classes

class IPython.terminal.ipapp.IPAppCrashHandler(app)

Bases: IPython.core.crashhandler.CrashHandler

sys.excepthook for IPython itself, leaves a detailed report on disk.

__init__(app)
make_report(traceback)

Return a string containing a crash report.

class IPython.terminal.ipapp.LocateIPythonApp(**kwargs)

Bases: IPython.core.application.BaseIPythonApplication

class IPython.terminal.ipapp.TerminalIPythonApp(**kwargs)

Bases: IPython.core.application.BaseIPythonApplication, IPython.core.shellapp.InteractiveShellApp

crash_handler_class

alias of IPAppCrashHandler

init_banner()

optionally display the banner

init_shell()

initialize the InteractiveShell instance

initialize(argv=None)

Do actions after construct, but before starting the app.

parse_command_line(argv=None)

override to allow old ‘-pylab’ flag with deprecation warning

1 Function

IPython.terminal.ipapp.load_default_config(ipython_dir=None)

Load the default config file from the default ipython_dir.

This is useful for embedded shells.