Hacker Newsnew | past | comments | ask | show | jobs | submit | simplyianm's commentslogin

A very unsafe python script to unescape strings.

    #!/usr/bin/env python
    import sys

    def unescape(string):
        print eval(string)

    if __name__ == '__main__':
        unescape(sys.stdin.read())


That no longer works.


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

Search: