You are here


8 September, 2015 - 10:43

Exercise 14.6.Theurllibmodule provides methods for manipulating URLs and downloading information from the web. The following example downloads and prints a secret message

import urllib
conn = urllib.urlopen('')
for line in conn:
print line.strip()

Run this code and follow the instructions you see there. Solution: http: // thinkpython. com/code/ zip_ code. py.