ASPN ActiveState Programmer Network
  ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups | Web Services
SEARCH
advanced | search help

Reference
ActivePython 2.4
Python Documentation
Language Reference
8. Top-level components
8.3 Interactive input

MyASPN >> Reference >> ActivePython 2.4 >> Python Documentation >> Language Reference >> 8. Top-level components
ActivePython 2.4 documentation


8.3 Interactive input

Input in interactive mode is parsed using the following grammar:

interactive_input ::= [stmt_list] NEWLINE | compound_stmt NEWLINE
Download entire grammar as text.

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.

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState 2004 All rights reserved