Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #95997
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!border1.nntp.ams1.giganews.com!nntp.giganews.com!bcyclone04.am1.xlned.com!bcyclone04.am1.xlned.com!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail |
|---|---|
| Return-Path | <vincent.vande.vyvre@telenet.be> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.013 |
| X-Spam-Evidence | '*H*': 0.97; '*S*': 0.00; 'check.': 0.09; 'subject:module': 0.09; 'from:name:vincent vande vyvre': 0.16; 'received:195.130': 0.16; 'received:195.130.137': 0.16; 'received :telenet-ops.be': 0.16; 'subject:urllib': 0.16; 'try?': 0.16; 'typo': 0.16; 'url:example': 0.16; 'url:urllib': 0.16; '\xe9crit': 0.16; 'wrote:': 0.16; 'subject:request': 0.18; '>>>': 0.20; '2015': 0.20; '3.2': 0.22; 'sep': 0.22; 'sorry,': 0.22; 'thanks,': 0.24; 'import': 0.24; 'header:In-Reply-To:1': 0.24; 'header:User- Agent:1': 0.26; 'chris': 0.26; 'fri,': 0.27; 'subject: ?': 0.27; 'skip:u 20': 0.28; 'anywhere': 0.30; 'received:be': 0.30; "can't": 0.32; '[1]': 0.32; 'url:python': 0.33; "d'aprano": 0.33; 'doubt': 0.33; 'according': 0.36; 'but': 0.36; 'should': 0.36; 'url:org': 0.36; 'url:library': 0.36; 'to:addr:python-list': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'available.': 0.37; 'why': 0.39; 'sure': 0.39; 'to:addr:python.org': 0.40; 'url:3': 0.60; 'skip:u 10': 0.61; 'charset:windows-1252': 0.62; 'header:Reply-To:1': 0.67; 'reply-to:no real name:2**0': 0.71; 'chrisa': 0.84; '(steven': 0.91 |
| Reply-To | vincent.vandevyvre@oqapy.eu |
| 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> |
| To | python-list@python.org |
| From | Vincent Vande Vyvre <vincent.vande.vyvre@telenet.be> |
| Date | Fri, 4 Sep 2015 04:49:31 +0200 |
| User-Agent | Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 |
| MIME-Version | 1.0 |
| In-Reply-To | <CAPTjJmok_eMtsvQz_CfaNNBXyEZObsZJ8MnABD_KGHEnqu_zcA@mail.gmail.com> |
| Content-Type | text/plain; charset=windows-1252; format=flowed |
| Content-Transfer-Encoding | 8bit |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.20+ |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.117.1441334982.8327.python-list@python.org> (permalink) |
| Lines | 18 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1441334982 news.xs4all.nl 23736 [2001:888:2000:d::a6]:54191 |
| X-Complaints-To | abuse@xs4all.nl |
| X-Received-Bytes | 3611 |
| X-Received-Body-CRC | 2570993039 |
| Xref | csiph.com comp.lang.python:95997 |
Show key headers only | View raw
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