No request in module urllib ?

Vincent Vande Vyvre vincent.vande.vyvre at telenet.be
Fri Sep 4 03:56:04 CEST 2015


Hi,

Python 3.2.3 (default, Jun 18 2015, 21:46:42)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
 >>> import urllib
 >>> urllib.request.urlopen('http://example.org')
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'request'

Same error with Python 3.4.0


More information about the Python-list mailing list