Mercurial > repo
view bin/loudlye @ 9237:768c2b69f6e4
<oerjan> ` mv bin/orenbow{,.raw}; mkx \'bin/orenbow//print_args_or_input "$@" | orenbow\'
author | HackBot |
---|---|
date | Tue, 11 Oct 2016 22:35:44 +0000 |
parents | f76b9b5bd985 |
children |
line wrap: on
line source
#!/usr/bin/env python import sys, itertools 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 inp)