En Sun, 28 Sep 2008 22:44:20 -0300, robean <[EMAIL PROTECTED]> escribió:
Many thanks for your reply. I was simply under the impression that 'import urllib2' would take care of the namespace issue and simply import everything in urlib2, making it unnecessary to have to reference HTTPError and URLError. Sorry for being dense about this (I'm very new to Python).. Again, thanks for your help.
That's a common misconception - see this article: http://effbot.org/zone/import-confusion.htm -- Gabriel Genellina -- http://mail.python.org/mailman/listinfo/python-list