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


Groups > comp.lang.python > #96003

Re: No request in module urllib ?

From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: No request in module urllib ?
Date 2015-09-04 04:19 +0100
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>
Newsgroups comp.lang.python
Message-ID <mailman.122.1441336760.8327.python-list@python.org> (permalink)

Show all headers | View raw


On 04/09/2015 03:30, Chris Angelico wrote:
> 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
>

If my understanding is correct, owing to the way the time machine works, 
Steven still has Python versions -3.6 to -0.1 running.

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence

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


Thread

Re: No request in module urllib ? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-09-04 04:19 +0100

csiph-web