input() vs raw_input()

Skip Montanaro skip at pobox.com
Mon Apr 15 15:32:47 EDT 2002


    Andrei> input() must not be mentioned in any tutorials for new users. It
    Andrei> belongs somewhere in the depths of the thickest reference
    Andrei> manual. Where do new users *learn* about it? I don't remember
    Andrei> seeing it in any tutorial and yet it pops up all the time.

Maybe it's mentioned in some books.  It's right there in black-and-white in
the documentation of the builtin functions as well

    http://www.python.org/doc/current/lib/built-in-funcs.html

though it does warn people against using it.

-- 
Skip Montanaro (skip at pobox.com - http://www.mojam.com/)





More information about the Python-list mailing list