Green

Tea

Press

Green Tea Home Page

Donate towards my web hosting bill!

How to Think Like a (Python) Programmer

by Allen B. Downey

Download How to Think Like a (Python) Programmer in PDF.

UPDATE: March 7, 2008. I printed a short run of How to Think Like a (Python) Programmer for my class Software Design this Spring. If you are a teacher using How to Think Like a Computer Scientist, and you are interested in helping me test the new edition, please contact downey at allendowney dot com and we will arrange to get hardcopies for your students.

This book is a substantially revised version of How to Think Like a Computer Scientist: Learning with Python.

This version of the book is a DRAFT! The chapters are mostly complete, but not carefully edited. Some of the debugging sections are not done, and not all chapters have exercises.

If you have high-level comments about the organization of the book or the topics covered, please send me email at feedback{at}thinkpython{dot}com. It is probably too early for detailed comments like spelling errors.

How to Think... is a free textbook available under the GNU Free Documentation License. Readers are free to copy and distribute the text; they are also free to modify it, which allows them to adapt the book to different needs, and to help develop new material.

The book is available in a variety of electronic formats:

  • Precompiled copies of the book are available in PDF and Postscript.

  • The LaTeX source code is available as a zip archive.

  • Here is the HTML version, and here is the HTML code in a zip archive.

  • A Chinese translation of the book is in progress. The current draft is available here.