This is a development version (latest) and may be unstable. Go to latest (9.13.0)
{ } Raw JSON

bundles / IPython latest / IPython / start_ipython

function

IPython:start_ipython

source: /IPython/__init__.py :117

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, optional

If 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, 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, a traitlets Config object (see configure_start_ipython), allowing configuration of the instance (see terminal_options).

Aliases

  • IPython.start_ipython

Referenced by