GNU Info

Info Node: (python2.1-ref.info)Expression input

(python2.1-ref.info)Expression input


Prev: Interactive input Up: Top-level components
Enter node , (file) or (file)node

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.


automatically generated by info2www version 1.2.2.9