Thanks for the reply Larry but I am still having trouble.  If i
understand you correctly, your are just suggesting that i add an http://
in front of the address?  However when i run this:

>>> import urllib2
>>> site = urllib2.urlopen('http://www.google.com')
>>> for line in site:
>>>      print line

I am still getting the message:

TypeError: iteration over non-sequence
  File "<stdin>", line 1
    TypeError: iteration over non-sequence

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to