Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed3.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.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; "subject:' ": 0.07; 'present,': 0.09; 'reinstall': 0.09; 'subject:2.7': 0.09; 'subject:How': 0.10; 'python': 0.11; 'suggest': 0.14; '2.7': 0.14; 'windows': 0.15; 'command,': 0.16; 'from:addr:mrabarnett.plus.com': 0.16; 'from:addr:python': 0.16; 'from:name:mrab': 0.16; 'happy,': 0.16; 'message- id:@mrabarnett.plus.com': 0.16; 'ought': 0.16; 'received:192.168.1.4': 0.16; 'received:84.93': 0.16; 'received:84.93.230': 0.16; 'soup': 0.16; 'subject: \n ': 0.16; 'subject:access': 0.16; 'subject:python': 0.16; 'wrote:': 0.18; 'meant': 0.20; 'command': 0.22; 'header:User-Agent:1': 0.23; 'file.': 0.24; 'recognized': 0.26; 'downloaded': 0.26; 'header:In- Reply-To:1': 0.27; 'external': 0.29; "doesn't": 0.30; 'code': 0.31; 'gather': 0.31; 'received:84': 0.35; 'but': 0.35; '2.6': 0.36; 'version,': 0.38; 'to:addr:python-list': 0.38; 'rather': 0.38; 'sure': 0.39; 'to:addr:python.org': 0.39; 'information': 0.63; 'such': 0.63; 'taking': 0.65; 'due': 0.66; 'beautiful': 0.68; 'therefore': 0.72; '2.7.': 0.84; '3.4': 0.84 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.1 cv=MtHc6gqe c=1 sm=1 tr=0 a=0nF1XD0wxitMEM03M9B4ZQ==:117 a=0nF1XD0wxitMEM03M9B4ZQ==:17 a=0Bzu9jTXAAAA:8 a=1oDRhzKAKukA:10 a=xobXauqK_lgA:10 a=ihvODaAuJD4A:10 a=IkcTkHD0fZMA:10 a=EBOSESyhAAAA:8 a=xWsYtm0lx-bmyd4kcCAA:9 a=QEXdDO2ut3YA:10 X-AUTH: mrabarnett:2500 Date: Sun, 11 May 2014 23:10:35 +0100 From: MRAB User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: python-list@python.org Subject: Re: How do I access 'Beautiful Soup' on python 2.7 or 3.4 , console or idle versions. References: <10313d81-01f2-48ed-951c-a5a6cccee65e@googlegroups.com> <7a908d5e-1e0e-4828-a3e0-172df735e6c3@googlegroups.com> <1ade4a7c-833c-44eb-982a-3e17ccbc64b1@googlegroups.com> In-Reply-To: <1ade4a7c-833c-44eb-982a-3e17ccbc64b1@googlegroups.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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: 15 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1399846243 news.xs4all.nl 2902 [2001:888:2000:d::a6]:59496 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:71346 On 2014-05-11 23:03, Simon Evans wrote: > I have downloaded Beautiful Soup 3, I am using Python 2.7. I understand from your message that I ought to use Python 2.6 or Python 3.4 with Beautiful Soup 4, the book I am using 'Getting Started with Beautiful Soup' is for Beautiful Soup 4. Therefore I gather I must re-download Beautiful Soup and get the 4 version, dispose of my Python 2.7 and reinstall Python 3.4. I am sure I can do this, but doesn't the above information suggest that the only Python grade left that might work with Beautiful Soup 3 would by Python 2.7 - which is the configuration I have at present, though I am not perfectly happy, as it is not taking code in the book (meant for BS4) such as the following on page 16 : > > helloworld = "

Hello World

" > > re:- > -------------------------------------------------------------------------------- > c:\Beautiful Soup>helloworld = "

Hello World

" > 'helloworld' is not recognized as an internal or external command, > operable program or batch file. > -------------------------------------------------------------------------------- > I take it that this response is due to using code meant for BS4 with Python 2.6/ 3.4, rather than BS3 with Python 2.7 which is what I am currently using. If so I will change the configurations. > That's the Windows command prompt, not the Python command prompt.