Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed3.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.009 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'from:addr:yahoo.co.uk': 0.04; 'problem?': 0.07; 'lawrence': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:()': 0.09; 'subject:question': 0.10; 'python': 0.11; 'language.': 0.14; 'distinct': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'renamed': 0.16; 'roy': 0.16; 'language': 0.16; 'wrote:': 0.18; 'example': 0.22; 'header:User-Agent:1': 0.23; "i've": 0.25; 'shown': 0.26; 'pass': 0.26; 'subject:/': 0.26; 'somewhere': 0.26; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; "i'm": 0.30; 'code': 0.31; 'getting': 0.31; 'lines': 0.31; 'piece': 0.31; 'guess': 0.33; 'anybody': 0.35; 'but': 0.35; 'there': 0.35; 'two': 0.37; 'being': 0.38; 'to:addr:python-list': 0.38; 'anything': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'helps': 0.61; 'entire': 0.61; 'our': 0.64; 'between': 0.67; 'advantages': 0.68; 'smith': 0.68; 'sunday': 0.68; 'discovered': 0.83; 'actually,': 0.84; 'homework': 0.84; 'pardon': 0.84; 'personally.': 0.84; 'masters': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: question about input() and/or raw_input() Date: Sun, 19 Jan 2014 18:07:44 +0000 References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: host-78-146-2-200.as13285.net User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 In-Reply-To: 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: 24 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1390154886 news.xs4all.nl 2894 [2001:888:2000:d::a6]:51530 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:64303 On 18/01/2014 18:41, Mark Lawrence wrote: > On 18/01/2014 18:30, Roy Smith wrote: >> Pardon me for being cynical, but in the entire history of the universe, >> has anybody ever used input()/raw_input() for anything other than a >> homework problem? >> > > Not me personally. I guess raw_input must have been used somewhere at > some time for something, or it would have been scrapped in Python 3, not > renamed to input. > Actually, to go off at a tangent, I'm just getting into GUIs via wxPython. I've discovered there are distinct advantages having to write endless lines of code just to get a piece of data. For example on a Sunday it helps pass the time between the two sessions of the Masters Snooker final being shown on TV. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence