10 Free Python Programming Books
August 23, 2008
Below is a collection of 10 great Python programming books that are available online in full, completely free of charge:
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.
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.
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.

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
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.
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.
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.



David Mertz’s “Text Processing in Python” is available at http://gnosis.cx/TPiP/.
Comment by George Reilly — August 25, 2008 @ 2:57 am
One more to the list:
“Text Processing in Python”
http://gnosis.cx/TPiP/
Comment by CH Gowri Kumar — August 25, 2008 @ 5:18 am
I appreciate the online book offer. My son is taking Python programming in High School and this will be a huge benefit.
Comment by James Pund — August 25, 2008 @ 11:34 am
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
Comment by Al Sweigart — August 25, 2008 @ 7:21 pm
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!
Comment by Prasanna S — August 25, 2008 @ 8:59 pm
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.”"”
Comment by Guy Kloss — September 1, 2008 @ 10:26 pm
[...] free online. If you don’t know where to look for more a good place to start looking try my top 10 free python books post. I’m sure I’ll be posting about more in the future too, so be sure to subscribe! [...]
Pingback by Coderholic » Blog Archive » 25 Free Computer Science Books — December 20, 2008 @ 9:05 pm
Thanks so much. This is exactly what I was looking for.
Comment by Samir — December 31, 2008 @ 8:08 am
Another book is “A Byte of Python” for 2.x and 3.0 version the link is: http://www.swaroopch.com/notes/Python
Comment by tide75 — June 14, 2009 @ 8:20 am
I wouldn’t mind getting round to learning python or ruby. It’s just a matter of time, which I lack at the moment. I have to feel my head with other topics at the moment
Comment by Jon — December 12, 2009 @ 10:11 am
i wish to get a website to get free ebooks for python programming and which is the best OS for python programming
Comment by Check Nyah — January 14, 2010 @ 12:01 pm
I guess the link for the book “Building Skills in Python” is wrong, I found the book on the following link:
http://homepage.mac.com/s_lott/books/python.html
Thanks for sharing!
Comment by Fábio — January 15, 2010 @ 7:22 pm
What about book for web programming in python?
Comment by Mark — June 5, 2010 @ 9:11 am
One More eBook(that released to be free)
1.Python for Fun
http://www.openbookproject.net/py4fun/
and some video tutorials http://showmedo.com/videotutorials/python
Comment by siropio — June 26, 2010 @ 8:48 am