Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #95997
| Subject | Re: No request in module urllib ? |
|---|---|
| References | <55E8FA34.8060600@telenet.be> <CAPTjJmpAF3F=ZxgK4PV+fkpJKMmo_rs+Zvg1mBnypztLY8u2Kw@mail.gmail.com> <55E8FF47.409@telenet.be> <CAPTjJmok_eMtsvQz_CfaNNBXyEZObsZJ8MnABD_KGHEnqu_zcA@mail.gmail.com> |
| From | Vincent Vande Vyvre <vincent.vande.vyvre@telenet.be> |
| Date | 2015-09-04 04:49 +0200 |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.117.1441334982.8327.python-list@python.org> (permalink) |
Le 04/09/2015 04:30, Chris Angelico a écrit :
> On Fri, Sep 4, 2015 at 12:17 PM, Vincent Vande Vyvre
> <vincent.vande.vyvre@telenet.be> wrote:
>>> import urllib.request
>>> urllib.request.urlopen('http://example.org')
>>>
>> Thanks, that works with 3.4.0. No with 3.2.3
> Hmm, not sure why it wouldn't. According to the docs [1] it should be
> available. But I don't have a 3.2 anywhere around me now, so I can't
> check. (Steven D'Aprano no doubt can!) What happens when you try?
> ImportError? AttributeError?
>
> ChrisA
>
> [1] https://docs.python.org/3.2/library/urllib.request.html
Sorry, my fault, a typo in the import line.
Vincent
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: No request in module urllib ? Vincent Vande Vyvre <vincent.vande.vyvre@telenet.be> - 2015-09-04 04:49 +0200
csiph-web