blob: ddf2c8b3878263a012e9f3c2b2b9dd7675db7301 [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
13\input{copyright}
14
15\begin{abstract}
16
17\noindent
Guido van Rossumdc1dab11998-06-15 16:27:09 +000018Python is an interpreted, object-oriented, high-level programming
19language with dynamic semantics. Its high-level built in data
20structures, combined with dynamic typing and dynamic binding, make it
21very attractive for rapid application development, as well as for use
22as a scripting or glue language to connect existing components
23together. Python's simple, easy to learn syntax emphasizes
24readability and therefore reduces the cost of program
25maintenance. Python supports modules and packages, which encourages
26program modularity and code reuse. The Python interpreter and the
27extensive standard library are available in source or binary form
28without charge for all major platforms, and can be freely distributed.
Fred Drakef6669171998-05-06 19:52:49 +000029
30This reference manual describes the syntax and ``core semantics'' of
Guido van Rossumdc1dab11998-06-15 16:27:09 +000031the language. It is terse, but attempts to be exact and complete. The
32semantics of non-essential built-in object types and of the built-in
33functions and modules are described in the \emph{Python Library
34Reference}. For an informal introduction to the language, see the
35\emph{Python Tutorial}. For \C{} or \Cpp{} programmers, two additional
36manuals exist: \emph{Extending and Embedding the Python Interpreter}
37describes the high-level picture of how to write a Python extension
38module, and the \emph{Python/C API Reference Manual} describes the
39interfaces available to C/C++ programmers in detail.
Fred Drakef6669171998-05-06 19:52:49 +000040
41\end{abstract}
42
43\tableofcontents
44
Fred Drakef8e44151998-05-07 17:27:32 +000045\input{ref1} % Introduction
46\input{ref2} % Lexical analysis
47\input{ref3} % Data model
48\input{ref4} % Execution model
49\input{ref5} % Expressions and conditions
50\input{ref6} % Simple statements
51\input{ref7} % Compound statements
52\input{ref8} % Top-level components
Fred Drakef6669171998-05-06 19:52:49 +000053
54\input{ref.ind}
55
56\end{document}