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


Groups > comp.lang.python > #95988

No request in module urllib ?

Path csiph.com!goblin1!goblin.stu.neva.ru!uio.no!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.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; 'subject:module': 0.09; 'python': 0.10; 'from:name:vincent vande vyvre': 0.16; 'received:195.130': 0.16; 'received:telenet-ops.be': 0.16; 'subject:urllib': 0.16; 'url:example': 0.16; 'urllib': 0.16; 'attribute': 0.18; 'subject:request': 0.18; '>>>': 0.20; '"",': 0.22; 'import': 0.24; '(most': 0.24; 'header:User-Agent:1': 0.26; 'error': 0.27; 'subject: ?': 0.27; 'skip:u 20': 0.28; 'received:be': 0.30; 'traceback': 0.33; 'file': 0.34; 'url:org': 0.36; 'to:addr:python-list': 0.36; 'hi,': 0.38; 'to:addr:python.org': 0.40; 'more': 0.63; 'header:Reply-To:1': 0.67; 'reply-to:no real name:2**0': 0.71
Reply-To vincent.vandevyvre@oqapy.eu
To Python mail-list <python-list@python.org>
From Vincent Vande Vyvre <vincent.vande.vyvre@telenet.be>
Subject No request in module urllib ?
Date Fri, 4 Sep 2015 03:56:04 +0200
User-Agent Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Thunderbird/38.2.0
MIME-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
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.111.1441332217.8327.python-list@python.org> (permalink)
Lines 12
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1441332217 news.xs4all.nl 23791 [2001:888:2000:d::a6]:55900
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:95988

Show key headers only | View raw


Hi,

Python 3.2.3 (default, Jun 18 2015, 21:46:42)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
 >>> import urllib
 >>> urllib.request.urlopen('http://example.org')
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'request'

Same error with Python 3.4.0

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


Thread

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

csiph-web