Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

From the article...

    >>> accio = __builtins__.__import__
    >>> accio sys
      File "<stdin>", line 1
        accio sys
                ^
    SyntaxError: invalid syntax
    
    # :(
The author wanted accio to replace import not __import__.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: