Note
This documentation is for a development version of IPython. There may be significant differences from the latest stable release (1.2.1).
IPython: tools for interactive and parallel computing in Python.
Embed and start an IPython kernel in a given scope.
If you don’t want the kernel to initialize the namespace from the scope of the surrounding function, and/or you want to load full IPython configuration, you probably want IPython.start_kernel() instead.
Parameters: | module : ModuleType, optional
local_ns : dict, optional
kwargs : various, optional
|
---|
Launch a normal IPython instance (as opposed to embedded)
IPython.embed() puts a shell in a particular calling scope, such as a function or method for debugging purposes, which is often not desirable.
start_ipython() does full, regular IPython initialization, including loading startup files, configuration, etc. much of which is skipped by embed().
This is a public API method, and will survive implementation changes.
Parameters: | argv : list or None, optional
user_ns : dict, optional
kwargs : various, optional
|
---|
Launch a normal IPython kernel instance (as opposed to embedded)
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.
start_kernel() does full, regular IPython initialization, including loading startup files, configuration, etc. much of which is skipped by embed().
Parameters: | argv : list or None, optional
user_ns : dict, optional
kwargs : various, optional
|
---|