Mercurial > repo
view bin/distort @ 9943:17c0775fb9bc
<boily> le/rn fat//Fats are one of the four basic classes of nutrients. The other three are sugars, coffee and alcohol.
author | HackBot |
---|---|
date | Sun, 11 Dec 2016 19:43:51 +0000 |
parents | d8f742efd393 |
children | 75d67a002697 |
line wrap: on
line source
#!/usr/bin/env python import sys N=336 name = sys.argv[1] if len(sys.argv) > 1 else "/dev/stdin" with open(name, "r") as f: data = ' \\ '.join(f.read().splitlines()) for i in xrange(0, len(data), N): print data[i:i+N]