'+line+'
\n')
fileout.write("""
import re import urllib pads = [ 'http://10.10.161.238/ether/p/amazon/export/txt', 'http://10.10.161.238/ether/p/polyhistorm/export/txt', 'http://10.10.161.238/ether/p/etymologiae/export/txt', 'http://10.10.161.238/ether/p/cyclopaedia/export/txt', 'http://10.10.161.238/ether/p/encyclopedia/export/txt', 'http://10.10.161.238/ether/p/great-inventions/export/txt', 'http://10.10.161.238/ether/p/taric/export/txt' ] with open("../../stories/systems.html","w+") as fileout: for pad in pads: lines = urllib.urlopen(pad).readlines() padname = pad.replace('http://10.10.161.238/ether/p/','') padname = padname.replace('/export/txt','') fileout.write('