IPython Documentation

Table Of Contents

Previous topic

The IPython API

Next topic

config.application

This Page

IPython

IPython

IPython: tools for interactive and parallel computing in Python.

https://ipython.org

IPython.embed_kernel(module=None, local_ns=None, **kwargs)

Embed and start an IPython kernel in a given scope.

Parameters :

module : ModuleType, optional

The module to load into IPython globals (default: caller)

local_ns : dict, optional

The namespace to load into IPython user namespace (default: caller)

kwargs : various, optional

Further keyword args are relayed to the KernelApp constructor, allowing configuration of the Kernel. Will only have an effect on the first embed_kernel call for a given process.