def start_console(transpyler, console='auto', turtle='auto'):
    """
    Starts a regular python console with the current transpyler.

    Args:
        console:
            Can be one of 'jupyter', 'console', 'qtconsole', 'auto'. This
            chooses the default console application. The default behavior
            (auto) is to try jupyter and fallback to console if it is
            not available.
        turtle:
            Sets the turtle backend. It can be either 'qt', 'tk', 'none' or
            'auto'. The defaut strategy (auto) is to try the qt first and
            fallback to tk.
    """
    if console == 'auto':
        try:
            import IPython
        except ImportError:
            console = 'console'
        else:
            console = 'jupyter'
    if console == 'qtconsole':
        from .jupyter import start_jupyter
        start_jupyter(transpyler=transpyler, gui=True)
    elif console == 'jupyter':
        from .jupyter import start_jupyter
        start_jupyter(transpyler=transpyler, gui=False)
    elif console == 'console':
        from .console import start_console
        start_console(transpyler=transpyler)
