Think Python: How to Think Like a Computer Scientist

(2 reviews)

star01star02star03star04star05

Allen Downey, Franklin W. Olin College of Engineering

Pub Date: 2012

ISBN 13: 978-1-4919393-6-9

Publisher: Green Tea Press

Read This Book

Conditions of Use

Attribution-NonCommercial
CC BY-NC

Reviews

  All reviews are licensed under a CC BY-ND license.

Learn more about reviews.

star01star02star03star04star05

Reviewed by Sid Suryanarayanan, Associate Professor, Colorado State University, on 12/6/2016.

Python is becoming increasingly important in its use for scientific and engineering applications. This text is an easy-to-read short volume on the … read more

 

star01star02star03star04star05

Reviewed by David Pieczkiewicz, Director of Graduate Studies and Clinical Assistant Professor, University of Minnesota, on 7/16/2014.

The text concisely but thoroughly covers the basics of programming in the Python language, from expressions and functions to file processing … read more

 

Table of Contents

Preface
1. The way of the program
2. Variables, expressions and statements
3. Functions
4. Case study: interface design
5. Conditionals and recursion
6. Fruitful functions
7. Iteration
8. Strings
9. Case study: word play
10. Lists
11. Dictionaries
12. Tuples
13. Case study: data structure selection
14. Files
15. Classes and objects
16. Classes and functions
17. Classes and methods
18. Inheritance
19. The Goodies
A. Debugging
B. Analysis of Algorithms

About the Book

Think Python is a concise introduction to software design using the Python programming language. Intended for people with no programming experience, this book starts with the most basic concepts and gradually adds new material. Some of the ideas students find most challenging, like recursion and object-oriented programming, are divided into a sequence of smaller steps and introduced over the course of several chapters.

This textbook has been used in classes at Bard College, Olin College of Engineering, University of California, Santa Barbara, University of Maine, University of Northern Colorado.

About the Contributors

Author(s)

Allen B. Downey is an American computer scientist, professor of computer science at the Franklin W. Olin College of Engineering and writer of free textbooks.

Downey received in 1989 his BS and in 1990 his MA, both in Civil Engineering from the Massachusetts Institute of Technology, and his PhD in Computer Science from the University of California at Berkeley in 1997.

He started his career as Research Fellow in the San Diego Supercomputer Center in 1995. In 1997 he became Assistant Professor of Computer Science at Colby College, and in 2000 at Wellesley College. He was Research Fellow at Boston University in 2002 and Professor of Computer Science at the Franklin W. Olin College of Engineering since 2003. In 2009-2010 he was also Visiting Scientist at Google Inc.