Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #95988

No request in module urllib ?

From Vincent Vande Vyvre <vincent.vande.vyvre@telenet.be>
Subject No request in module urllib ?
Date 2015-09-04 03:56 +0200
Newsgroups comp.lang.python
Message-ID <mailman.111.1441332217.8327.python-list@python.org> (permalink)

Show all headers | View raw


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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

No request in module urllib ? Vincent Vande Vyvre <vincent.vande.vyvre@telenet.be> - 2015-09-04 03:56 +0200

csiph-web