Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder5.xlned.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!194.109.133.87.MISMATCH!newsfeed.xs4all.nl!newsfeed1.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.015 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'problem?': 0.07; 'subject:()': 0.09; 'subject:question': 0.10; 'cc:addr:python- list': 0.11; 'jan': 0.12; 'exactly?': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'ought': 0.16; 'output?': 0.16; 'roy': 0.16; 'why,': 0.16; 'wrote:': 0.18; 'producing': 0.19; 'programming': 0.22; 'cc:addr:python.org': 0.22; 'print': 0.22; 'cc:2**0': 0.24; 'subject:/': 0.26; 'header:In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; 'code': 0.31; 'programmers': 0.33; 'anybody': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'similar': 0.36; 'january': 0.37; 'being': 0.38; 'pm,': 0.38; 'anything': 0.39; 'how': 0.40; 'entire': 0.61; 'smith': 0.68; 'homework': 0.84; 'pardon': 0.84; 'to:none': 0.92; 'taught': 0.96 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=r0wjhVM/3By124IU2bnpiO7MdNTPeCxmlIDY0p4l5fs=; b=Vyg3JAgaht0yzV8eEe7SCXO/odFZDo6vOqpsddOQZLzIhntX3rZTQS1wuGZqcWa8A4 tuXSEjy8911Lg7kt/rXe7oaR9kgvklc97MX1mNtQX/ObTML6aJhQC4UlEdOgUmSru+Zh wYw7zghISbWJy4shQP5QSYC/2a3U2mIYbPKPHvpoX1sVLOZeP7pg+OOqV012dYE9zdKb OUCyaT6TP8DJVFUeBg0Qo2Wm0nB6694wR+CCr9lPhReR/GqrsOmltdLBQqhpWXoAP6z1 fAemzpgQWDH2WPIcnRqq0lccxGXS9WWX96+5B9+VQyTkliDzQ9VMzXDIygHn/pHZObed NPgw== MIME-Version: 1.0 X-Received: by 10.68.226.200 with SMTP id ru8mr11257196pbc.77.1390105296205; Sat, 18 Jan 2014 20:21:36 -0800 (PST) In-Reply-To: <2b7f1a5d-4145-4f7d-be47-72d5eb207391@googlegroups.com> References: <2b7f1a5d-4145-4f7d-be47-72d5eb207391@googlegroups.com> Date: Sun, 19 Jan 2014 15:21:36 +1100 Subject: Re: question about input() and/or raw_input() From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 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: 13 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1390105305 news.xs4all.nl 2915 [2001:888:2000:d::a6]:44016 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:64278 On Sun, Jan 19, 2014 at 3:15 PM, Rustom Mody wrote: > On Sunday, January 19, 2014 12:00:20 AM UTC+5: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? > > Similar 'cynicism' regarding print would be salutary for producing better programmers > > [If youve taught programming and had to deal with code strewn with prints...] Why, exactly? How ought a program to produce filterable output? ChrisA