Warning
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_kernel_argv
(argv=None)¶ build argv to be passed to kernel subprocess
-
help_classes
¶ ConsoleApps can configure kernels on the command-line
But this shouldn’t be written to a file
-
init_connection_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.
-
init_ssh
()¶ set up ssh tunnels, if needed.
-
initialize
(argv=None)¶ - Classes which mix this class in should call:
- IPythonConsoleApp.initialize(self,argv)
-
kernel_manager_class
¶ alias of
KernelManager
-