human
Complete this python program:
def _embed_ptpython_shell(namespace={}, banner=''):
assistant
#Here is the Python code you requested.

    """Start a ptpython shell
    """
    import ptpython.repl
    @wraps(_embed_ptpython_shell)
    def wrapper(namespace=namespace, banner=''):
        print banner
        ptpython.repl.embed(locals=namespace)
    return wrapper