Paul Rubin <http://phr.cx@NOSPAM.invalid> writes: > import urllib > pyPage = urllib.urlopen('http://www.python.org/index.html',r).read() oops: import urllib pyPage = urllib.urlopen('http://www.python.org/index.html').read() i.e. omit the 'r' argument to urlib.urlopen.