Think Python (2/e) - Allen B. Downey

Think Python (2/e)

Allen B. Downey

出版时间

2015-12-28

ISBN

9781491939369

评分

★★★★★
书籍介绍
If you want to learn how to program, working with Python is an excellent way to start. This hands-on guide takes you through the language a step at a time, beginning with basic programming concepts before moving on to functions, recursion, data structures, and object-oriented design. This second edition and its supporting code have been updated for Python 3. Through exercises in each chapter, youâ??ll try out programming concepts as you learn them. Think Python is ideal for students at the high school or college level, as well as self-learners, home-schooled students, and professionals who need to learn programming basics. Beginners just getting their feet wet will learn how to start with Python in a browser.
AI导读
核心看点
  • 以Python为载体,培养计算机科学家的思维方式
  • 涵盖函数、递归、数据结构及面向对象设计基础
  • 强调问题识别与逐步调试的编程开发方法论
适合谁读
  • 零基础高中生、大学生及自学编程的初学者
  • 希望系统建立编程思维而非仅学语法的读者
  • 需要补充计算机科学基础概念的转行人员
读前提醒
  • 全书免费开源,建议直接访问官网在线阅读
  • 有编程经验者可能觉得内容过浅,需耐心
  • 务必动手完成每章练习,避免只看不练
读者共识
  • 公认的最佳编程思维入门教材,非单纯语法书
  • 对零新手友好,但对有经验者略显单薄
  • 免费获取且更新及时,性价比极高

本导读基于书籍简介、目录、原文摘录、短评和书评生成,不等同于全文精读。

精彩摘录
  • "For some people, programming and debugging are the same thing. That is, programming is the process of gradually debugging a program until it does what you want. The idea is that you should start with a program that does something and make small modifications, debugging them as you go, so that you al"
  • "The final version of the function doesn`t display anything when it runs;it only returns a value.The print statements we wrote are useful for debugging,but once you get the function working,you should remove them.Code like that is called scaffolding because it is helpful for building the program but "
  • "If you were really thinking like a computer scientist, you would have recognized that uses_all was an instance of a previously-solved problem,and you would have written:"
  • "This is an example of a program development method called problem recognition,which means that you recognize the problem you are working on as an instance of a previously-solved problem,and apply a previously-developed solution"
  • "Every time a funtion gets called, Python creates a new [function frame], which contains the function's [local variables and parameters]."
  • "It is important to distinguish between operations that [modify] lists and operations that [creat] new lists."
  • "A [hash] is a function that takes a value (of any kind) and return a integer. Dictionaries use these intergers, called [hash values] to store and look up key-value pairs."
  • "for [instances], the default behavior of the == operator ist the same as the is operator; it checks [object identity], not [object equivalence]."
作者简介
Allen Downey is a Professor Emeritus at Olin College and Principal Data Scientist at PyMC Labs. He is the author of several books related to programming and data science, including Probably Overthinking It, Think Python, Think Stats, and Think Bayes. The idea behind these books is that if you know how to program, you can use that skill to learn other things. Allen has a Ph.D. from U.C. Berkeley and M.S. and B.S. degrees from MIT. He has taught at Olin College, Colby College and Wellesley College.
用户评论
mark
一晚上水完了。对于有基础的人来说这本书太过简单,对于入门的人来说它又不够系统
在https://codewithmosh.com上听了python programming for developer,才发现这本书作为入门书的很多不足。
Scratched the surface, and it's even itchier.
一本 Python 入门的书。我看此书的主要目的是用来提高自己的英语阅读水平。
蛮经典的书,每周练习都是这本书里抽出来的
Introductory and essential tool book for Python, used as reference for Darcy's course "Data Programming with Python". Good for searching certain context, not for systematic study.
十分萌新友好,里面的案例都挺有意思的而且也很容易理解,唯一缺点就是不够系统,对于一个系统框架学习法的人来说有点过于实例导向了(不过这也是本书适合萌新的优点)
热诚
收藏