Show possible solutions for: All levels; level: previous, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, next
http://www.pythonchallenge.com/pc/def/channel.html
import urllib, zipfile, re, collections
o, n, f = [], "90052", "%s.txt"
nnr = "Next nothing is (\d+)"
# Download the ZIP file from http://www.pythonchallenge.com/pc/def/channel.zip
file = zipfile.ZipFile("channel.zip")
while True:
try:
n = re.search(nnr, file.read(f % n)).group(1)
except:
print file.read(f % n)
break
o.append(file.getinfo(f % n).comment)
print "".join(o)