blob: 51ea5fd8ddb88e8f8ce4da6c9db36c6c69dc3e7a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
\documentclass{manual}
\title{Python Reference Manual}
\input{boilerplate}
\makeindex
\begin{document}
\maketitle
\input{copyright}
\begin{abstract}
\noindent
Python is a simple, yet powerful, interpreted programming language
that bridges the gap between \C{} and shell programming, and is thus
ideally suited for ``throw-away programming'' and rapid prototyping.
Its syntax is put together from constructs borrowed from a variety of
other languages; most prominent are influences from \ABC, \C, Modula-3
and Icon.
The Python interpreter is easily extended with new functions and data
types implemented in \C{}. Python is also suitable as an extension
language for highly customizable C applications such as editors or
window managers.
Python is available for various operating systems, amongst which
several flavors of \UNIX{} (including Linux), the Apple Macintosh O.S.,
MS-DOS, MS-Windows 3.1, Windows NT, and OS/2.
This reference manual describes the syntax and ``core semantics'' of
the language. It is terse, but attempts to be exact and complete.
The semantics of non-essential built-in object types and of the
built-in functions and modules are described in the \emph{Python
Library Reference}. For an informal introduction to the language, see
the \emph{Python Tutorial}.
\end{abstract}
\tableofcontents
\input{ref1} % Introduction
\input{ref2} % Lexical analysis
\input{ref3} % Data model
\input{ref4} % Execution model
\input{ref5} % Expressions and conditions
\input{ref6} % Simple statements
\input{ref7} % Compound statements
\input{ref8} % Top-level components
\input{ref.ind}
\end{document}
|