Welcome to Green Tea Press, publisher of Think Python, Think Bayes, and other books by Allen Downey.
Read our Textbook Manifesto.
All of our books are available under free licenses that allow readers 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.
These books are available in a variety of electronic formats; some are also for sale in hard copy.
An introduction to programming using Python, one of the best programming languages for beginners. The second edition uses Python 3.
The first edition of Think Python, using Python 2.
A new introduction to Perl 6 by Laurent Rosenfeld.
Data Science in Python
An introduction to exploratory data analysis. Like the first edition, this book emphasizes simple computational tools for exploring real data. It includes several new topics, including regression, time series analysis and survival analysis. It presents basic use of NumPy, SciPy, pandas, and StatsModels. This book revises and extends the first edition, Think Stats: Probability and Statistics for Programmers
An introduction to Bayesian statistics using simple Python programs instead of complicated math.
An introduction to digital signal processing with applications to sound and image processing.
New edition, revised and updated by Chris Mayfield and Allen Downey, and published by O’Reilly Media.
Build your own Web search engine—including a crawler, indexer, and search interface—while learning about data structures and algorithms in Java.
New books in progress
Models of discrete systems, like population growth, first-order systems, like epidemics and thermal systems, and second-order systems, like mechanical systems. For people who have not programmed before.
An introduction to complexity science, which includes small world graphs, scale-free networks, cellular automata, fractals and pink noise, self-organized criticality, and agent-based models.
An introduction to Operating Systems for programmers. Uses the C programming language.
How to Think Like a Computer Scientist
How to Think Like a Computer Scientist is an introductory programming book for people who have never programmed before, available for several programming languages:
How To Think Like a Computer Scientist: Learning with Python (this book has now been replaced by Think Python).
Also from Green Tea Press
Learn about software synchronization by solving a series of puzzles.
Use MATLAB to predict and explain the behavior of physical systems. Intended for people with no programming experience.
More Free Computer Science Books
Max Hailperin’s Operating Systems and Middleware: Supporting Controlled Interaction is now available under a Creative Commons license.
About free books
If you enjoy these books, please read about Five Easy Ways to Help Promote Free Books.
If you are thinking about writing a free book, here are reasons you should and suggestions about how: Free Books: Why Not?.