Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!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.018 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'beginner': 0.05; 'subject:Python': 0.05; 'sat,': 0.14; '"print"': 0.16; 'ages,': 0.16; 'confusion': 0.16; 'received:80.91': 0.16; 'received:80.91.229': 0.16; 'received:gmane.org': 0.16; 'received:list': 0.16; 'remembered': 0.16; 'screen,': 0.16; 'resolved': 0.17; 'wrote:': 0.19; 'wrote': 0.20; 'print': 0.21; 'header:In-Reply-To:1': 0.22; 'statement': 0.23; 'variable': 0.23; 'programming': 0.23; 'run': 0.25; 'second': 0.25; 'points': 0.26; 'header:User-Agent:1': 0.26; 'basic': 0.28; '+0100,': 0.28; "d'aprano": 0.28; 'prints': 0.28; 'steven': 0.28; 'header:X -Complaints-To:1': 0.29; 'received:com.au': 0.32; 'code': 0.32; 'pm,': 0.34; 'two': 0.35; 'to:addr:python-list': 0.35; 'possible': 0.35; 'there': 0.36; 'whatever': 0.36; 'received:org': 0.36; 'easily': 0.36; 'but': 0.37; 'subject:: ': 0.37; 'instead': 0.38; 'old': 0.38; 'to:addr:python.org': 0.39; 'where': 0.39; 'header:Received:5': 0.40; 'content': 0.40; 'most': 0.61; 'is.': 0.62; '2012': 0.62; 'first': 0.62; 'paper': 0.76; 'dark': 0.84; 'intuit': 0.84; 'printer': 0.84; 'received:110': 0.96 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Lie Ryan Subject: Re: Python is readable Date: Sat, 31 Mar 2012 16:56:57 +1100 References: <4f612b19$0$1379$4fafbaef@reader2.news.tin.it> <8e72d74f-c844-4de3-8a37-f6b1fdc2291f@y27g2000yqy.googlegroups.com> <50e9ceec-40f1-4ead-b2b6-87328b30d084@ow8g2000pbc.googlegroups.com> <4f61c828$0$1390$4fafbaef@reader2.news.tin.it> <4f61d728$0$1375$4fafbaef@reader2.news.tin.it> <4f61fd0a$0$1389$4fafbaef@reader2.news.tin.it> <4f620837$0$1382$4fafbaef@reader2.news.tin.it> <4f627c25$0$1381$4fafbaef@reader2.news.tin.it> <4f62b9be$0$29981$c3e8da3$5496439d@news.astraweb.com> <4f632da5$0$1375$4fafbaef@reader1.news.tin.it> <4f636ed5$0$29981$c3e8da3$5496439d@news.astraweb.com> <4f64ed2e$0$1389$4fafbaef@reader1.news.tin.it> <4f653c1e$0$29981$c3e8da3$5496439d@news.astraweb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: 110-175-240-90.static.tpgi.com.au User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120310 Thunderbird/11.0 In-Reply-To: <4f653c1e$0$29981$c3e8da3$5496439d@news.astraweb.com> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 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: 17 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1333173434 news.xs4all.nl 6919 [2001:888:2000:d::a6]:50180 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:22408 On 03/18/2012 12:36 PM, Steven D'Aprano wrote: > On Sat, 17 Mar 2012 20:59:34 +0100, Kiuhnm wrote: > In the second example, most English speakers would intuit that "print(i)" > prints i, whatever i is. There are two points where the code may be misunderstood, a beginner may think that "print i" prints to the inkjet printer (I remembered unplugging my printer when I wrote my first BASIC program for this reason); and the possible confusion of whether "print i" prints the letter "i" or the content of variable "i". (Fortunately, this confusion are easily resolved when I run the code and see the result on-screen instead of a job on the print spooler) (ironically, although print is nowadays a programming jargon for outputting to screen, but in the old dark ages, people used to use the "print" statement to print to paper in their old terminal)