Urllib2 not working

Carlos Fabian Ramirez carlosfabianramirez at gmail.com
Sat Aug 22 14:12:50 EDT 2009


Hello,
When I try to open a URL using urllib2.urlopen it returns Name or service
not known. It is not a problem with my Internet I believe, since I have
Internet access on my computer, and I have verified it is not a syntax, or
spelling, error on my part. I have also tried accessing the site (google.com)
by IP like so:
urllib2.urlopen('http://74.125.67.100/')
but this does not work either.
This is a traceback of an attempt to access it through its URL (
http://www.google.com/)
http://dpaste.com/84016/
Any help would be very appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20090822/43d48346/attachment.html>


More information about the Python-list mailing list