blob: 93acc117cf86abc7d561da18633377a388f31bc4 [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
Guido van Rossumdc1dab11998-06-15 16:27:09 +000035the language. It is terse, but attempts to be exact and complete. The
36semantics of non-essential built-in object types and of the built-in
37functions and modules are described in the \emph{Python Library
38Reference}. For an informal introduction to the language, see the
39\emph{Python Tutorial}. For \C{} or \Cpp{} programmers, two additional
40manuals exist: \emph{Extending and Embedding the Python Interpreter}
41describes the high-level picture of how to write a Python extension
42module, and the \emph{Python/C API Reference Manual} describes the
43interfaces available to C/C++ programmers in detail.
Fred Drakef6669171998-05-06 19:52:49 +000044
45\end{abstract}
46
47\tableofcontents
48
Fred Drakef8e44151998-05-07 17:27:32 +000049\input{ref1} % Introduction
50\input{ref2} % Lexical analysis
51\input{ref3} % Data model
52\input{ref4} % Execution model
53\input{ref5} % Expressions and conditions
54\input{ref6} % Simple statements
55\input{ref7} % Compound statements
56\input{ref8} % Top-level components
Fred Drakef6669171998-05-06 19:52:49 +000057
58\input{ref.ind}
59
60\end{document}