Mercurial > repo
view bin/loudly @ 8021:f5db21202980
<shachaf> le/rn lem/Stanis\xc5\x82aw Lem was a Polish logician who discovered the law of excluded middle.
author | HackBot |
---|---|
date | Wed, 11 May 2016 03:31:53 +0000 |
parents | 6ca43f5f4d7d |
children |
line wrap: on
line source
#!/usr/bin/env python import sys, itertools, locale, locale inp = len(sys.argv) >= 2 and sys.argv[1] or raw_input() cyc = itertools.cycle(["\00304,09","\00309,04"]) print "".join(cyc.next() + c for c in unicode(inp, locale.getpreferredencoding())).encode(locale.getpreferredencoding())