question about input() and/or raw_input()
Mark Lawrence
breamoreboy at yahoo.co.uk
Sun Jan 19 13:07:44 EST 2014
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
More information about the Python-list
mailing list