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