Escape python command
This commit is contained in:
parent
b8b40ab07e
commit
72632ac413
10
dotfiles/lib/python/escape.py
Executable file
10
dotfiles/lib/python/escape.py
Executable file
@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env python
|
||||
import sys
|
||||
|
||||
|
||||
def escape(string):
|
||||
print repr(string)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
escape(sys.stdin.read())
|
Loading…
Reference in New Issue
Block a user