No request in module urllib ?

Mark Lawrence breamoreboy at yahoo.co.uk
Thu Sep 3 23:19:05 EDT 2015


On 04/09/2015 03:30, Chris Angelico wrote:
> On Fri, Sep 4, 2015 at 12:17 PM, Vincent Vande Vyvre
> <vincent.vande.vyvre at 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




More information about the Python-list mailing list