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: 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 From: Vincent Vande Vyvre 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 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 "", line 1, in AttributeError: 'module' object has no attribute 'request' Same error with Python 3.4.0