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


Groups > comp.lang.python > #95997 > unrolled thread

Re: No request in module urllib ?

Started byVincent Vande Vyvre <vincent.vande.vyvre@telenet.be>
First post2015-09-04 04:49 +0200
Last post2015-09-04 04:49 +0200
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

#95997 — Re: No request in module urllib ?

FromVincent Vande Vyvre <vincent.vande.vyvre@telenet.be>
Date2015-09-04 04:49 +0200
SubjectRe: No request in module urllib ?
Message-ID<mailman.117.1441334982.8327.python-list@python.org>
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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web