view bin/loudly @ 5946:a06b5a4a8ae5

<tswett> sed -i \'s/read(3)/read(0)/\' bin/loudly
author HackBot
date Sat, 29 Aug 2015 22:30:41 +0000
parents f1a8b7c7ac5d
children ba4b9506833f
line wrap: on
line source

#!/usr/bin/env python
import sys, itertools
inp = sys.stdin.read(0) or sys.argv[1]
cyc = itertools.cycle(["\00304,09","\00309,04"])
print "".join(cyc.next() + c for c in inp)