Mercurial > repo
view bin/distort @ 9959:a4d641009dc5
<hppavilion[1]> learn Svalbard is the place where Norway keeps the seeds for its pseudo-RNGs so that they can recover their language if it is ever lost.
author | HackBot |
---|---|
date | Tue, 13 Dec 2016 00:45:03 +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]