skip at pobox.com
Thu Aug 21 23:09:13 CEST 2003
Anand> Dont forget that 'input' is a keyword in python.
Not quite. It's the name of a builtin function which almost nobody uses.
Anand> It is used to accept user inputs as illustrated below.
Anand> r=input("Write your name here: ")
Anand> print r
It is essentially raw_input() wrapped in eval().
Anand> Maybe the interpreter is getting confused with your variable
Anand> <input> and the keyword "input".
Python never gets confused. It always knows what it is doing. ;-)
More information about the Python-list