DeepRead
Cover of Think Python

Think Python

Allen B. Downey, Allen Downey · 2009

Programming and computer science › Python

#1,877 most recommended

About the book

Think Python is an introductory programming text that teaches Python from the first principles of programming: variables, expressions, conditionals, loops, and functions, then strings, lists, dictionaries, tuples, and files. It moves on to classes and objects and ends with inheritance and object-oriented design. Each chapter pairs the material with exercises so readers practise each idea as it is introduced. The book's central claim is that programming is mainly a way of thinking, and that the habits of computer science, such as decomposing a problem into small functions, abstracting repeated work, and refining a solution step by step, matter more than memorising syntax. It presents debugging as a systematic skill rather than a matter of luck. It also holds that Python, with its readable syntax, is a good vehicle for building these habits in beginners. Recursion and object-oriented design are presented as tools for organising larger programs, not as advanced topics reserved for specialists.

Written by Claude from what it knows of this book.

What Hacker News says 68% recommend · 5% critical

02.5520082015202020252016 peak · 5
This bookAverage book in Python

In the commenters’ own words

What Open Library readers say 4.00 from 6 ratings

  1. 53
  2. 41
  3. 31
  4. 21
  5. 10
  • 115 want to read
  • 11 reading
  • 13 have read

Only 6 ratings: treat the average as a hint.

Open Library’s page for the book

What critics say, via Wikipedia

No Wikipedia article about this book yet, so no critics to quote.

Reddit communities — coming later

The threads it came up in

Details

First published
2009
ISBN
9781449330729
Editions known
20 at Open Library
Open Library
OL16976951W

BioinformaticsCOMPUTERS / Programming Languages / C#COMPUTERS / Programming Languages / JavaCOMPUTERS / Programming Languages / PascalCom051360ComputerComputer programmingCs.cmp_sc.prog_langGamesGeneralProgramming LanguagesPythonPython (Computer program language)Software architecture

Explore in the mosaic

Read next: its neighbours on the mosaic