Python Language Reference Manual

Python Reference Manual

This manual is the official reference for the Python language itself. It describes the syntax of Python and its built-in datatypes in depth. This edition has been revised for the 2.5 release of Python. This manual covers advanced topics, and is suitable for readers who need to be familiar with the details and rules of the Python language and its object system.


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 Python Library Reference Manual. For an informal introduction to the language, see An Introduction to Python. For C or C++ programmers, two additional manuals exist: Extending and Embedding the Python Interpreter describes the high-level picture of how to write a Python extension module, and the Python/C API Reference Manual describes the interfaces available to C/C++ programmers in detail.

Table of Contents

  • Lexical analysis
  • Data model
  • Execution model
  • Expressions
  • Simple statements
  • Compound statements
  • Top-level components

Book Details

Author(s): Guido van Rossum and Fred L. Drake, Jr.
Format(s): HTML
Number of pages: 150
Link: Read online.

Leave a Reply