module documentation

Undocumented

Function get_shell_embed_func Return the first acceptable shell-embed function from a given list of shell names.
Function start_python_console Start Python console bound to the given namespace. Readline support and tab completion will be used on Unix, if available.
Constant DEFAULT_PYTHON_SHELLS Undocumented
Function _embed_bpython_shell Start a bpython shell
Function _embed_ipython_shell Start an IPython Shell
Function _embed_ptpython_shell Start a ptpython shell
Function _embed_standard_shell Start a standard python shell
def get_shell_embed_func(shells=None, known_shells=None): (source)

Return the first acceptable shell-embed function from a given list of shell names.

def start_python_console(namespace=None, banner='', shells=None): (source)

Start Python console bound to the given namespace. Readline support and tab completion will be used on Unix, if available.

DEFAULT_PYTHON_SHELLS = (source)

Undocumented

Value
{'ptpython': _embed_ptpython_shell,
 'ipython': _embed_ipython_shell,
 'bpython': _embed_bpython_shell,
 'python': _embed_standard_shell}
def _embed_bpython_shell(namespace={}, banner=''): (source)

Start a bpython shell

def _embed_ipython_shell(namespace={}, banner=''): (source)

Start an IPython Shell

def _embed_ptpython_shell(namespace={}, banner=''): (source)

Start a ptpython shell

def _embed_standard_shell(namespace={}, banner=''): (source)

Start a standard python shell