This book has been superceded by Programming in Python 3: A Complete Introduction to the Python Language (Second Edition).
This book teaches you how to write programs using Python 3, the most up to date, powerful and flexible version of Python yet released. Python 3 introduces many new idioms compared with Python 2 that make programming with it easier and at the same time helps produce clearer and more maintainable code. Python 3 is a superb very high level language, that is very easy to learn and use even by relatively inexperienced programmers. And once learned, Python 3 does not impose limits or restrictions, instead offering incredibly powerful and advanced facilities for those who want to learn and use them. Python runs on Windows and most Unix-like operating systems such as Mac OS X, BSD, and Linux.
The book is ~500 pages (540 with forematter, index, etc.), and is
Previews are available from
the Introduction, first few pages of Chapter 1, all of Chapter 12 (Regular
Expressions), and the index is available from
(click the Sample Content tab and then the Download the sample
The book can be bought from amazon and other online and local book stores.
Only the English printed editions are definitive—although available in electronic formats, "ebooks" usually restrict your rights, and they are often retypeset which can introduce errors. Translations are arranged by the publisher and their quality can vary considerably.
The source code is available in two formats, py3book1.tar.gz (288K suitable for any platform), and py3book1.zip (388K Windows line endings) [updated 2009-05-18]—all the examples and code snippets work with Python 3.0 and 3.1. There is also an Errata [updated 2009-09-21].
For more information on Python 3 see the Python website.
Like all my books and most of my other writings, this book was written using The Lout Typesetting System.
Copyright © 2006 Qtrac Ltd. All Rights Reserved.