IPython 8.4.0 Pypi GitHub Homepage
Other Docs
ParametersBackRef
start_kernel(argv=None, **kwargs)

IPython.embed_kernel() puts a shell in a particular calling scope, such as a function or method for debugging purposes, which is often not desirable.

:None:None:`start_kernel()` does full, regular IPython initialization, including loading startup files, configuration, etc. much of which is skipped by :None:None:`embed()`.

Parameters

argv : list or None, optional

If unspecified or None, IPython will parse command-line options from sys.argv. To prevent any command-line parsing, pass an empty list: :None:None:`argv=[]`.

user_ns : dict, optional

specify this dictionary to initialize the IPython user namespace with particular values.

**kwargs : various, optional

Any other kwargs will be passed to the Application constructor, such as config .

Launch a normal IPython kernel instance (as opposed to embedded)

Examples

See :

Back References

The following pages refer to to this document either explicitly or contain code examples using this.

IPython.embed_kernel

Local connectivity graph

Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.

Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)

SVG is more flexible but power hungry; and does not scale well to 50 + nodes.

All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them


GitHub : /IPython/__init__.py#126
type: <class 'function'>
Commit: