forked from colonelpanic/dotfiles
unescape python command
This commit is contained in:
parent
0c33116a74
commit
39290cee78
10
dotfiles/lib/python/unescape.py
Executable file
10
dotfiles/lib/python/unescape.py
Executable file
@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env python
|
||||
import sys
|
||||
|
||||
|
||||
def unescape(string):
|
||||
print eval(string)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unescape(sys.stdin.read())
|
Loading…
Reference in New Issue
Block a user