unescape python command

This commit is contained in:
Ivan Malison 2015-11-11 20:16:49 -08:00
parent 0c33116a74
commit 39290cee78

10
dotfiles/lib/python/unescape.py Executable file
View File

@ -0,0 +1,10 @@
#!/usr/bin/env python
import sys
def unescape(string):
print eval(string)
if __name__ == '__main__':
unescape(sys.stdin.read())