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

Module: consoleapp

A minimal application base mixin for all ZMQ based IPython frontends.

This is not a complete console app, as subprocess will not be able to receive input, there is no real readline support, among other limitations. This is a refactoring of what used to be the IPython/qt/console/qtconsoleapp.py

1 Class

class IPython.consoleapp.IPythonConsoleApp(**kwargs)

Bases: IPython.kernel.connect.ConnectionFileMixin


build argv to be passed to kernel subprocess


ConsoleApps can configure kernels on the command-line

But this shouldn’t be written to a file


find the connection file, and load the info if found.

The current working directory and the current profile’s security directory will be searched for the file if it is not given by absolute path.

When attempting to connect to an existing kernel and the --existing argument does not match an existing file, it will be interpreted as a fileglob, and the matching file in the current profile’s security dir with the latest access time will be used.

After this method is called, self.connection_file contains the full path to the connection file, never just its name.


set up ssh tunnels, if needed.

Classes which mix this class in should call:

alias of KernelManager