view bin/ümläüt @ 10072:3713b7a6920d

<zgrep> ` chmod +x bin/\xc3\xbcml\xc3\xa4\xc3\xbct
author HackBot
date Sun, 01 Jan 2017 16:22:48 +0000
parents 602a72182b60
children b7ce9d2d581d
line wrap: on
line source

#!/usr/bin/env python
import sys
if len(sys.argv) != 2:
    print('Incorrect usage.')
    exit(1)
o = u''
for c in sys.argv[1]:
    o += c.encode('utf-8')
    o += u'\u0308'
print(o)