Escape python command

This commit is contained in:
Ivan Malison 2015-11-14 00:17:53 -08:00
parent b8b40ab07e
commit 72632ac413

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

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