Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.009 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; "subject:' ": 0.07; 'indication': 0.09; 'release.': 0.09; 'subject:2.7': 0.09; 'subject:How': 0.10; 'python': 0.11; '2.7': 0.14; 'reedy': 0.16; 'subject: \n ': 0.16; 'subject:access': 0.16; 'suggested,': 0.16; 'subject:python': 0.16; 'wrote:': 0.18; 'least': 0.26; 'header:In- Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; 'probably': 0.32; 'says': 0.33; 'received:google.com': 0.35; 'there': 0.35; 'version': 0.36; 'should': 0.36; 'url:amazon': 0.38; 'to:addr :python-list': 0.38; 'fact': 0.38; 'pm,': 0.38; 'that,': 0.38; 'to:addr:python.org': 0.39; 'ian': 0.60; 'book.': 0.68; 'targeted': 0.69; '3.4': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=jdrQS7RLhzISMnIU1vytkUF7or3QUu7Kz80YZpKXfQY=; b=I03uoTxuLzciyVjydMsielIwfzg7mzu2uuN/ZteHu1rLP47tDon3bz8XQmeWkx0rE+ LH9iM7uNhbc9of2qlWPe6zE1FodlFz/9OhzHeeoQ4ZiepxvxwcfmLsHk5CncA87Rrh59 hao0hKXkoJKbW2Rfa+rh07Q8vpPxC1ZBqj4v9kQv3Gfm+HnB8wnrL5DrHIOGQp2sNXyX WcEj54aSD9Obv4o7F+gc8gS6RDCjAsQ6+d7yPsldVVcdMJMU/So7580/TOHljamBh+qK s37Yn0YNm2L3tbU53JmTB6ZH/HwaWC5EYjFegz0pDTHPzr8IH2fEpLFkZLu6Xag6LYF4 sKmg== X-Received: by 10.67.13.134 with SMTP id ey6mr49013410pad.44.1399853006521; Sun, 11 May 2014 17:03:26 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <10313d81-01f2-48ed-951c-a5a6cccee65e@googlegroups.com> <7a908d5e-1e0e-4828-a3e0-172df735e6c3@googlegroups.com> <1ade4a7c-833c-44eb-982a-3e17ccbc64b1@googlegroups.com> <7b33a525-58ee-4009-94c4-f9ed69eb3af0@googlegroups.com> From: Ian Kelly Date: Sun, 11 May 2014 18:02:46 -0600 Subject: Re: How do I access 'Beautiful Soup' on python 2.7 or 3.4 , console or idle versions. To: Python Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 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: 1399853015 news.xs4all.nl 2899 [2001:888:2000:d::a6]:36067 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:71356 On Sun, May 11, 2014 at 5:47 PM, Ian Kelly wrote: > Also, use Python 3.4 as Terry Reedy suggested, unless the book is > using 2.7 in which case you should probably use the same version as > the book. Following up on that, if this is the book you are using: http://www.amazon.com/Getting-Started-Beautiful-Soup-Vineeth/dp/1783289554 then it says to use Python 2.7.5 or greater. There is no indication that the book is targeted at Python 3, and in fact I see at least one line that won't work in Python 3 ("import urllib2"), so I definitely recommend sticking with a 2.7 release.