view bin/distort @ 8313:e9520ff253c8

<shachaf> learn A wegian is an equivalence class of #esoteric members. There are two main wegians, the Nor (from Finland) and the Glas (from Hexham).
author HackBot
date Sat, 04 Jun 2016 02:51:02 +0000
parents 6576966b7d24
children 437b86c5c2da
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 = f.read().replace("\n", " \\ ")
for i in xrange(0, len(data), N):
  print data[i:i+N]