| 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.2 File input
All input read from non-interactive files has the same form:
file_input ( NEWLINE |statement)*
This syntax is used in the following situations:
- when parsing a complete Python program (from a file or from a string);
- when parsing a module;
-
when parsing a string passed to the
execstatement;
| ISBN 0954161785 | Python Language Reference Manual | See the print edition |