blob: b0636fb28af5e6e6f0f0fb935044194218feb678 [file] [log] [blame]
Fred Drakef6669171998-05-06 19:52:49 +00001\documentclass{manual}
2
3\title{Python Reference Manual}
4
5\input{boilerplate}
6
7\makeindex
8
9\begin{document}
10
11\maketitle
12
Fred Drake9f86b661998-07-28 21:55:19 +000013\ifhtml
14\chapter*{Front Matter\label{front}}
15\fi
16
Fred Drakef6669171998-05-06 19:52:49 +000017\input{copyright}
18
19\begin{abstract}
20
21\noindent
Guido van Rossumdc1dab11998-06-15 16:27:09 +000022Python is an interpreted, object-oriented, high-level programming
23language with dynamic semantics. Its high-level built in data
24structures, combined with dynamic typing and dynamic binding, make it
25very attractive for rapid application development, as well as for use
26as a scripting or glue language to connect existing components
27together. Python's simple, easy to learn syntax emphasizes
28readability and therefore reduces the cost of program
29maintenance. Python supports modules and packages, which encourages
30program modularity and code reuse. The Python interpreter and the
31extensive standard library are available in source or binary form
32without charge for all major platforms, and can be freely distributed.
Fred Drakef6669171998-05-06 19:52:49 +000033
34This reference manual describes the syntax and ``core semantics'' of
Fred Drakee15eb351999-11-10 16:13:25 +000035the language. It is terse, but attempts to be exact and complete.
36The semantics of non-essential built-in object types and of the
37built-in functions and modules are described in the
38\citetitle[../lib/lib.html]{Python Library Reference}. For an
39informal introduction to the language, see the
40\citetitle[../tut/tut.html]{Python Tutorial}. For C or
41\Cpp{} programmers, two additional manuals exist:
42\citetitle[../ext/ext.html]{Extending and Embedding the Python
43Interpreter} describes the high-level picture of how to write a Python
44extension module, and the \citetitle[../api/api.html]{Python/C API
45Reference Manual} describes the interfaces available to
46C/\Cpp{} programmers in detail.
Fred Drakef6669171998-05-06 19:52:49 +000047
48\end{abstract}
49
50\tableofcontents
51
Fred Drakef8e44151998-05-07 17:27:32 +000052\input{ref1} % Introduction
53\input{ref2} % Lexical analysis
54\input{ref3} % Data model
55\input{ref4} % Execution model
56\input{ref5} % Expressions and conditions
57\input{ref6} % Simple statements
58\input{ref7} % Compound statements
59\input{ref8} % Top-level components
Fred Drakef6669171998-05-06 19:52:49 +000060
61\input{ref.ind}
62
63\end{document}