view bin/distort @ 9000:d72aef993623

<oerjan> addquote <hppavilion[1]> I think we need to make Greece an independent country
author HackBot
date Thu, 01 Sep 2016 00:31:47 +0000
parents 437b86c5c2da
children
line wrap: on
line source

#!/usr/bin/env python
import sys
N=330
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]