Yurttas/PL/SL/python/docs/core-python-programming/doc/20/ref/interactive.html

From ZCubes Wiki
Revision as of 20:10, 7 November 2013 by MassBot1 (talk | contribs) (Created page with "<div class="navigation"> {| width="100%" cellspacing="2" align="center" | yurttas/PL/SL/python/docs/core-python-programming/doc/20/ref/file-input.html|[[Image:yurttas_P...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


8.3 Interactive input

Input in interactive mode is parsed using the following grammar:

interactive_input: [stmt_list] NEWLINE | compound_stmt NEWLINE

Note that a (top-level) compound statement must be followed by a blank line in interactive mode; this is needed to help the parser detect the end of the input.


See About this document... for information on suggesting changes.