(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/ref/interactive.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/ref/top-level.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/ref/genindex.html| ]]
|
Python Reference Manual
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/ref/contents.html| ]]
|
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/ref/genindex.html| ]]
|
Previous: 8.3 Interactive input Up: 8. Top-level components Next: Index
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_input: expression_list NEWLINE*
The input line read by input() must have the following form:
input_input: expression_list NEWLINE
Note: to read `raw' input line without interpretation, you can use the built-in function raw_input() or the readline() method of file objects.
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/ref/interactive.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/ref/top-level.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/ref/genindex.html| ]]
|
Python Reference Manual
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/ref/contents.html| ]]
|
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/ref/genindex.html| ]]
|
Previous: 8.3 Interactive input Up: 8. Top-level components Next: Index
See About this document... for information on suggesting changes.