comparison bin/loudlye @ 6484:f76b9b5bd985

<oerjan> ` sed -ie \'s/inp[)]$/unicode(inp, locale.nl_langinfo(locale.CODESET))).encode(locale.nl_langinfo(locale.CODESET))/\' bin/loudly
author HackBot
date Sun, 03 Jan 2016 00:32:55 +0000
parents
children
comparison
equal deleted inserted replaced
6483:908cf0b01830 6484:f76b9b5bd985
1 #!/usr/bin/env python
2 import sys, itertools
3 inp = len(sys.argv) >= 2 and sys.argv[1] or raw_input()
4 cyc = itertools.cycle(["\00304,09","\00309,04"])
5 print "".join(cyc.next() + c for c in inp)