Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!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.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'python,': 0.02; 'interpreter': 0.05; "subject:' ": 0.07; 'input,': 0.09; 'subject:2.7': 0.09; 'subject:How': 0.10; 'python': 0.11; 'thread': 0.14; 'windows': 0.15; 'programmers,': 0.16; 'soup': 0.16; 'subject: \n ': 0.16; 'subject:access': 0.16; 'thread,': 0.16; 'typos': 0.16; 'subject:python': 0.16; 'wrote:': 0.18; 'file,': 0.19; 'working.': 0.19; 'written': 0.21; 'command': 0.22; 'import': 0.22; 'header:User-Agent:1': 0.23; 'certainly': 0.24; 'environment': 0.24; 'extension': 0.26; 'mention': 0.26; 'header :In-Reply-To:1': 0.27; 'installed': 0.27; 'am,': 0.29; 'thus': 0.29; 'gives': 0.31; 'program,': 0.31; 'code': 0.31; 'getting': 0.31; '(usually': 0.31; 'file': 0.32; 'there.': 0.32; 'run': 0.32; 'text': 0.33; 'guess': 0.33; 'noticed': 0.34; 'version': 0.36; 'done': 0.36; 'should': 0.36; 'to:addr:python-list': 0.38; 'previous': 0.38; 'to:addr:python.org': 0.39; 'new': 0.61; "you're": 0.61; 'further': 0.61; 'first': 0.61; 'dear': 0.65; 'beautiful': 0.68; 'line,': 0.68; 'prompt': 0.68; 'received:74.208': 0.68; 'subject': 0.69; 'opener': 0.84; 'received:74.208.4.194': 0.84 Date: Thu, 15 May 2014 08:12:39 -0400 From: Dave Angel User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.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> <1ade4a7c-833c-44eb-982a-3e17ccbc64b1@googlegroups.com> <7b33a525-58ee-4009-94c4-f9ed69eb3af0@googlegroups.com> <81acc9a1-f3d5-4379-9b29-1be4966f6c35@googlegroups.com> <167bfe35-c36b-4d9d-8bd3-810015b24af6@googlegroups.com> <85a05ee8-9f79-4cd2-875f-4926d11e9639@googlegroups.com> In-Reply-To: <85a05ee8-9f79-4cd2-875f-4926d11e9639@googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:2rvqtlGrgNoLuTKv4Y6jWRb4+R+dNbyTcAk/ZCq/NEs mixC8BK//Y5mKQ8w4m3AffAnw6txLTR4DyFM/pEt5LmvAQMYjf BAHVWZLJVZ4jRSArNuvRwZSSjzFfMuL8TyuEEL842Iko0E32Pc EjL9bAq47e7yHGBAjlvm1Ez0YLelt3Y1Be1aIrN8loU65vr+gE AFzqwngDA0DqQjV4AUlRzGe/0QfI5Ds+pw5S3p7ArrddbNCNqg x4rqRqC51dHfNyKMt4cA2AdhNo4Vgsj5z/y3sFTjg0hdQwwhFG DDOSMB/bnqGTHHRJ/Dcy5f4rCEv+Z5qlUGgCNEKwdXcoXrBjMK e24kw3BWlJeIUcfaEKZ8= 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: 38 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1400155978 news.xs4all.nl 2948 [2001:888:2000:d::a6]:38487 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:71593 On 05/15/2014 07:30 AM, Simon Evans wrote: > Dear Programmers, I noticed a couple of typos in my previous message, so have now altered them thus :- > > Dear Programmers, > As anticipated, it has not been to long before I have encountered further > > difficulty. Your first thread was about getting Beautiful Soup installed and working. If you can successfully import it, you're ready for a new thread, new subject line, etc. Note the new thread's opener should be self-contained, meaning you should mention the environment (version of BS, version of Python, version of what OS), and your difficulty. > At the top of page 16 of 'Getting Started with Beautiful Soup" it > > gives code to be input, whether to the Python or Windows command prompt I am not > My guess is that the book is now describing what goes in a program, not at the "command prompts". A program is typically written in a text file, not at the interpreter prompt, though experimentation is certainly done there. Once you have a program in a text file (usually with the extension .py), you run it at the OS terminal prompt by typing: python myprogram.py -- DaveA