question about input() and/or raw_input()

Chris Angelico rosuav at gmail.com
Sat Jan 18 23:21:36 EST 2014


On Sun, Jan 19, 2014 at 3:15 PM, Rustom Mody <rustompmody at gmail.com> 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



More information about the Python-list mailing list