{ } Raw JSON

bundles / ipykernel latest / ipykernel / connect / connect_qtconsole

function

ipykernel.connect:connect_qtconsole

source: /ipykernel/connect.py:90

Signature

def connect_qtconsole(connection_file: str | None = None, argv: list[str] | None = None) → Popen[Any]

Summary

Connect a qtconsole to the current kernel.

Extended Summary

This is useful for connecting a second qtconsole to a kernel, or to a local notebook.

Parameters

connection_file : str [optional]

The connection file to be used. Can be given by absolute path, or IPython will search in the security directory. If run from IPython,

If unspecified, the connection file for the currently running IPython Kernel will be used, which is only allowed from inside a kernel.

argv : list [optional]

Any extra args to be passed to the console.

Returns

: :class:`subprocess.Popen` instance running the qtconsole frontend

Aliases

  • ipykernel.connect_qtconsole