| Python Language Reference Manual by Guido van Rossum and Fred L. Drake, Jr. Paperback (6"x9"), 120 pages ISBN 0954161785 RRP £12.95 ($19.95) Sales of this book support the Python Software Foundation! Get a printed copy>>> |
8.4 Expression input
There are two forms of expression input. Both ignore leading
whitespace.
The string argument to eval() must have the following form:
eval_inputexpression_listNEWLINE*
The input line read by input() must have the following form:
input_inputexpression_listNEWLINE
Note: to read `raw' input line without interpretation, you can use the
built-in function raw_input() or the readline() method
of file objects.
| ISBN 0954161785 | Python Language Reference Manual | See the print edition |