Mercurial > repo
view bin/loudly @ 5943:6f6a6ced6d17
<tswett> sed -i \'s/\\[0\\]/\\[1\\]/\' bin/loudly
author | HackBot |
---|---|
date | Sat, 29 Aug 2015 22:26:18 +0000 |
parents | 2c0920181b85 |
children | de0ac7e571e8 |
line wrap: on
line source
#!/usr/bin/env python import sys, itertools inp = raw_input() or sys.argv[1] cyc = itertools.cycle(["\00304,09","\00309,04"]) print "".join(cyc.next() + c for c in inp)