IPython Documentation

Table Of Contents

Previous topic

Module: terminal.interactiveshell

Next topic

Module: testing

This Page

Module: terminal.ipapp

The Application object for the command line ipython program.

Authors

  • Brian Granger
  • Fernando Perez
  • Min Ragan-Kelley

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

subcommands

An instance of a Python dict.

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

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

aliases

An instance of a Python dict.

auto_create

A boolean (True, False) trait.

classes

An instance of a Python list.

crash_handler_class

alias of IPAppCrashHandler

display_banner

A boolean (True, False) trait.

flags

An instance of a Python dict.

force_interact

A boolean (True, False) trait.

ignore_old_config

A boolean (True, False) trait.

init_banner()

optionally display the banner

init_shell()

initialize the InteractiveShell instance

initialize(argv=None)

Do actions after construct, but before starting the app.

interact

A boolean (True, False) trait.

parse_command_line(argv=None)

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

quick

A boolean (True, False) trait.

something_to_run

A boolean (True, False) trait.

subcommands

An instance of a Python dict.

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.