Below is a collection of 10 great Python programming books that are available online in full, completely free of charge:

Dive into Python

This is a fantastic book that is also available in print. It covers everything, from installing Python and the language’s syntax, right up to web services and unit testing. This is a good book to learn from, but it’s also excellent to use a reference. I frequently find myself visiting the site! If you only read one book on this list make it this one.

An Introduction to Tkinter

Tkinter is a popular cross-platform Python GUI toolkit, and this book provides a good introduction with lots of examples. If you want to learn GUI development with Python then this book is a great place to start.

How to think like a Computer Scientist

This book uses Python to explain some Computer Science principals. It is full of examples, and each chapter has a collection of exercises for the reader to perform.

The Standard Python Library


This book provides a detailed description and usage examples for all of the modules in Python’s standard library. This fantastic reference is available in print.

Invent Your Own Computer Games with Python

This book is aimed at novice programmers who are interested in writing simple computer games. Each chapter describes a different game and goes through the stages of design and development. A great book for beginners, but the book lacks more advanced content and doesn’t include any information about Python game development libraries such as PyGame.

The Django Book



Django is a Python web framework (similar to Ruby’s Rails) which “encourages rapid development and clean, pragmatic design”. This book covers the framework in detail, and is a great place to start if you’re thinking about creating a dynamic website using Python. This book is also available in print

The Pylons Book

Pylons is another Python web framework. The book is structured in a very similar way to the Django book, and is worth reading if you’re looking for an alternative framework. This book is available in print too.

Data Structures and Algorithms with Object-Oriented Design Patterns in Python

This book provides a thorough introduction to data structures and algorithms using Python. This is definitely not a book for those wishing to learn Python. However, if you want to learn about data structures and algorithms, or you just wish to learn about their implementation in Python, I can’t recommend this book enough.

Building Skills in Python

This book consists of 42 chapters, each packed full of exercises designed to help you build Python programming skills. The book “includes six projects from straight-forward to sophisticated that will help solidify your Python skills”. A great book for those that already know Python, but would like to become more proficient.

Building Skills in OO Design

Written by the same author as the book above, this book follows the same format. This book focuses on object-oriented application design (using Python, of course) to help you to develop better programs.

More free books…

Above are just some examples of the books that you can find online. Back in January I posted a list of free computer science books, and I’ve managed to find lots more since then! I’ll post about them soon, so be sure to subscribe to my RSS feed.

6 Responses to “10 Free Python Programming Books”

  1. George Reilly Says:

    David Mertz’s “Text Processing in Python” is available at http://gnosis.cx/TPiP/.

  2. CH Gowri Kumar Says:

    One more to the list:
    “Text Processing in Python”
    http://gnosis.cx/TPiP/

  3. James Pund Says:

    I appreciate the online book offer. My son is taking Python programming in High School and this will be a huge benefit.

  4. Al Sweigart Says:

    While others are adding to the list, I’d like to plug my own book: “Invent Your Own Computer Games with Python”

    It is available for free under a Creative Commons license. It is aimed at teaching Python programming to kids and non-programmers by giving complete examples of games, and explaining the programming concepts from the examples.

    http://pythonbook.coffeeghost.net

  5. Prasanna S Says:

    Thanks for this, in fact I blogged about the top three python books I have seen some time back (www.prasannatech.net/2008/06/top-three-python-programming-books.html)
    , in both of them Dive into python featured first, Cool!

  6. Guy Kloss Says:

    Another book aimed at teaching Python to kids is “Snake Wrangling for Kids” by Jason R. Briggs. I haven’t looked at it, but I like the idea … :)

    http://www.briggs.net.nz/log/writing/snake-wrangling-for-kids/

    “”"“Snake Wrangling for Kids” is a printable electronic book, for children 8 years and older, who would like to learn computer programming. It covers the very basics of programming, and uses the Python programming language to teach the concepts.”"”

Leave a Reply