IPython Documentation

Table Of Contents

Previous topic

Module: core.pylabtools

Next topic

Module: core.splitinput

This Page


This documentation is for an old version of IPython. You can find docs for newer versions here.

Module: core.shellapp

A mixin for Application classes that launch InteractiveShell instances, load extensions, etc.


  • Min Ragan-Kelley

1 Class

class IPython.core.shellapp.InteractiveShellApp(**kwargs)

Bases: IPython.config.configurable.Configurable

A Mixin for applications that start InteractiveShell instances.

Provides configurables for loading extensions and executing files as part of configuring a Shell environment.

The following methods should be called by the initialize() method of the subclass:


run the pre-flight code, specified via exec_lines


Load all IPython extensions in IPythonApp.extensions.

This uses the ExtensionManager.load_extensions() to load all the extensions listed in self.extensions.


Enable GUI event loop integration, taking pylab into account.


Add current working directory, ‘’, to sys.path