Path: csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!newsgate.cistron.nl!newsgate.news.xs4all.nl!194.109.133.90.MISMATCH!newsfeed.xs4all.nl!newsfeed7.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.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:text': 0.04; 'reject': 0.05; "subject:' ": 0.07; 'subject:code': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'saved.': 0.09; 'subject:Getting': 0.09; 'subject:Why': 0.09; 'ignore': 0.14; 'executed.': 0.16; 'input.': 0.16; 'received:80.91.229.3': 0.16; 'received:dip0.t-ipconnect.de': 0.16; 'received:plane.gmane.org': 0.16; 'received:t-ipconnect.de': 0.16; 'subject:Started': 0.16; 'wrote:': 0.16; 'subject:page': 0.18; 'seems': 0.23; "python's": 0.23; 'thus': 0.24; 'feature': 0.24; 'header:User-Agent:1': 0.26; 'header:X-Complaints-To:1': 0.26; 'error': 0.27; 'respective': 0.27; 'accepts': 0.29; 'itself,': 0.29; 'code': 0.30; 'saves': 0.30; 'error.': 0.31; 'maybe': 0.33; 'should': 0.36; 'lines': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'received:org': 0.37; 'copying': 0.38; 'means': 0.39; 'to:addr:python.org': 0.40; 'subject:with': 0.40; 'received:de': 0.40; 'dear': 0.67; 'price': 0.69; 'responses': 0.93 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Peter Otten <__peter__@web.de> Subject: Re: Why doesn't input code return 'plants' as in 'Getting Started with Beautiful Soup' text (on page 30) ? Date: Sun, 12 Jul 2015 15:12:15 +0200 Organization: None References: <8ae715b3-91b1-4db2-9e69-cfc8c078939e@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Gmane-NNTP-Posting-Host: p57bd9b91.dip0.t-ipconnect.de User-Agent: KNode/4.13.3 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: 13 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1436706744 news.xs4all.nl 2822 [2001:888:2000:d::a6]:59297 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:93736 Simon Evans wrote: > Dear Peter Otten, > Yes, I have been copying and pasting, as it saves typing. I do get > 'indented block' error responses as a small price to pay for the time and > energy thus saved. Also Console seems to reject for 'indented block' > reasons better known to itself, copy and pasted lines that it accepts and > are exactly the same on the following line of input. Maybe it is an > inbuilt feature of Python's to discourage copy and pasting. You should not ignore the error. It means that the respective code was not executed.