Use py_resource module
[python/dscho.git] / Doc / ref.tex
blobe63fa7c3d60bb3eb6003f1b851c01f96e8343b8b
1 \documentstyle[twoside,11pt,myformat]{report}
3 \title{Python Reference Manual}
5 \input{boilerplate}
7 % Tell \index to actually write the .idx file
8 \makeindex
10 \begin{document}
12 \pagenumbering{roman}
14 \maketitle
16 \input{copyright}
18 \begin{abstract}
20 \noindent
21 Python is a simple, yet powerful, interpreted programming language
22 that bridges the gap between C and shell programming, and is thus
23 ideally suited for ``throw-away programming'' and rapid prototyping.
24 Its syntax is put together from constructs borrowed from a variety of
25 other languages; most prominent are influences from ABC, C, Modula-3
26 and Icon.
28 The Python interpreter is easily extended with new functions and data
29 types implemented in C. Python is also suitable as an extension
30 language for highly customizable C applications such as editors or
31 window managers.
33 Python is available for various operating systems, amongst which
34 several flavors of {\UNIX} (including Linux), the Apple Macintosh O.S.,
35 MS-DOS, MS-Windows 3.1, Windows NT, and OS/2.
37 This reference manual describes the syntax and ``core semantics'' of
38 the language. It is terse, but attempts to be exact and complete.
39 The semantics of non-essential built-in object types and of the
40 built-in functions and modules are described in the {\em Python
41 Library Reference}. For an informal introduction to the language, see
42 the {\em Python Tutorial}.
44 \end{abstract}
46 \pagebreak
49 \parskip = 0mm
50 \tableofcontents
53 \pagebreak
55 \pagenumbering{arabic}
57 \include{ref1} % Introduction
58 \include{ref2} % Lexical analysis
59 \include{ref3} % Data model
60 \include{ref4} % Execution model
61 \include{ref5} % Expressions and conditions
62 \include{ref6} % Simple statements
63 \include{ref7} % Compound statements
64 \include{ref8} % Top-level components
66 \input{ref.ind}
68 \end{document}