GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

No menu could be recovered. Follow the blue links in the page.

This view

  • Original page
  • New address

GeezerVison is showing docs.python.org — 8.2 File input

Previous Page Up One Level Next Page Python Reference Manual Contents Index
Previous: 8.1 Complete Python programs Up: 8. Top-level components Next: 8.3 Interactive input


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 exec statement;


Previous Page Up One Level Next Page Python Reference Manual Contents Index
Previous: 8.1 Complete Python programs Up: 8. Top-level components Next: 8.3 Interactive input

See About this document... for information on suggesting changes.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.