bundles / IPython 9.11.0 / IPython / start_ipython
function
IPython:start_ipython
source: /IPython/__init__.py :118
Signature
def start_ipython ( argv = None , ** kwargs ) Summary
Launch a normal IPython instance (as opposed to embedded)
Extended Summary
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, optionalIf unspecified or None, IPython will parse command-line options from sys.argv. To prevent any command-line parsing, pass an empty list:
argv=[].user_ns: dict, optionalspecify this dictionary to initialize the IPython user namespace with particular values.
**kwargs: various, optionalAny other kwargs will be passed to the Application constructor, such as
config, a traitletsConfigobject (seeconfigure_start_ipython), allowing configuration of the instance (seeterminal_options).
Aliases
-
IPython.start_ipython