(namespace=None, banner='', shells=None)
Start Python console bound to the given namespace.
    Readline support and tab completion will be used on Unix, if available.
Start Python console bound to the given namespace.
    Readline support and tab completion will be used on Unix, if available.
Start Python console bound to the given namespace . Readline support and tab completion will be used on Unix if available .
def start_python_console(namespace=None, banner='', shells=None):
    """Start Python console bound to the given namespace.
    Readline support and tab completion will be used on Unix, if available.
    """
    if namespace is None:
        namespace = {}

    try:
        shell = get_shell_embed_func(shells)
        if shell is not None:
            shell(namespace=namespace, banner=banner)
    except SystemExit:  # raised when using exit() in python code.interact
        pass
def start_python_console ( namespace = None , banner = '' , shells = None ) : if namespace is None : namespace = { } try : shell = get_shell_embed_func ( shells ) if shell is not None : shell ( namespace = namespace , banner = banner ) except SystemExit : # raised when using exit() in python code.interact pass