Learning with Python

How to Think Like a Computer Scientist

by Allen Downey, Jeff Elkner and Chris Meyers.

This is an older version of the book now known as Think PythonYou might prefer to read a more recent version.

This book is available for sale at Lulu.com.

A low cost edition of this book is available for the Indian market.

How to Think… is an introduction to programming using Python, one of the best languages for beginners.

How to Think… is a Free Book 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.

Please send suggestions, corrections and comments about the book to feedback{at}thinkpython{dot}com.

Download

The book is available in a variety of electronic formats:

  • Precompiled copies of the book are available in PDF and Postscript . Users are free to download and print these files.
  • The LaTeX source code for the book is available as a gzipped tar file.
  • The HTML version of the book is also available if you prefer to read it online. Or you can download all the HTML pages in a gzipped tar file.

Translations

Here are some translations of the book into other (natural) languages: