Python for Absolute Beginners (2nd Edition) cover

Python for Absolute Beginners (2nd Edition)

No rating yet
Word count
670 words
Chapters
13
Series
Shuimu Book Collection · Xiao Jiaoyu Series
ISBN
9787302514084

Tags

Summary

Python for Absolute Beginners (2nd Edition), the micro-video edition, is an introductory Python textbook by Xiao Jiaoyu (real name Li Jiayu), founder of the FishC Studio, published by Tsinghua University Press in June 2019. It has 13 chapters, 422 pages, and about 670,000 Chinese characters, and is a comprehensive upgrade of the 2016 first edition, covering Python 3.7. The book follows the principle of "understanding first, application above all": wherever a concept can be explained through an example, it is demonstrated with a small, everyday case rather than piled-up terminology and definitions. The first half covers basic syntax: from how to get Python and start the interpreter with IDLE, through variables, strings, conditionals, and loops, into data structures such as lists, tuples, and dictionaries, and on to advanced topics including functions, abstraction, exception handling, magic methods, and property iterators. Each chapter includes "classroom exercises" and the author's "failed attempts" demonstrations, laying out the mistakes beginners commonly make. The second half turns to applications, with examples built around web scraping, Tkinter and EasyGui graphical interface development, and Pygame game development, applying the syntax learned earlier to small projects that actually run. The book comes with about 30 hours of micro-video lessons, ideal for coding along while watching. Because the basic syntax section does not depend on the newest version features, beginners using Python 3.7 through 3.12 can still follow it; just note that the installation and usage of a few libraries may have been updated.

Editor's review

很多Python入门书的问题在于“讲得太对”:概念定义精准、语法罗列齐全,读起来却让人犯困。这本书的写法几乎是反过来的——作者像一个坐在你旁边的师兄,先用一个小游戏勾起兴趣,再告诉你要实现它需要什么知识,然后才讲语法。第2章就让你写一个猜数字游戏,第3章再回头补变量、字符串和分支,知识的出现顺序跟着需求走,而不是跟着教科书目录走。 第2版相对第1版做了实质性扩充:内容升级到Python 3.7,新增了爬虫、图形界面与游戏开发的应用章节,并配上约30小时微课视频。对于看书容易卡住的自学者,能听到作者一边敲代码一边解释“为什么这里会出错”,比读十页文字更有效。书中还保留了“失败的尝试”这一环节——故意写错、看报错、再改正,这正是真实编程中最常发生的事。 如果你此前买过几本编程书都停在第三章,这本书值得再试一次。

Who it's for

A good fit for

  • 完全没写过代码、想从零开始学一门编程语言的人
  • 看过视频教程但缺少系统纸质教材、需要对照练习的初学者
  • 希望快速用Python做小工具、小游戏、简单爬虫的业余爱好者
  • 初高中信息技术社团或大学非计算机专业公选课的学生

Not a good fit for

  • 已有编程基础、想系统学习Python工程化与设计模式的人
  • 目标是数据分析、机器学习、Web后端开发,需要 pandas、Django 等方向教材的读者
  • 习惯查阅官方文档、偏好精简参考手册而不喜欢口语化讲解的读者

Reading tips

  1. 先装好Python和IDLE,每章的代码都亲手敲一遍,不要复制粘贴,报错正是学习的一部分。
  2. 配合配套微课视频使用:卡住时看视频讲解,比反复读同一段文字更高效。
  3. 学到第10章前后开始做小项目,把前面零散的语法串成能运行、能展示的完整程序。
  4. 注意书中基于Python 3.7,遇到第三方库版本报错时以官方文档和当前版本说明为准。

About the publisher

Tsinghua University Press China · Founded in 1980

Founded in 1980, Tsinghua University Press has 57 titles in our collection, covering popular science, medicine, health, law, philosophy and social sciences. Representative works include medical popular-science books such as Cancer Truth: Doctors Are Reading It Too and New Knowledge on Cancer by Bo Luo (Li Zhizhong), legal titles such as Sunshine Is the Best Preservative: Express Delivery of Major Global Anti-Corruption Cases, and works like Qi Ge's A Brief History of Philosophy with Big Ideas and Liu Yunhao's From the Internet to a New Industrial Revolution. Its authors include science writers, medical researchers, the Renmin University of China anti-corruption master's class and university scholars, reflecting a publishing profile that balances academic seriousness with accessible reading. As public information is limited, this profile is based only on the titles in our collection.

Contents

  1. Chapter 1 Let's Start Happily
  2. Chapter 2 Designing Your First Game in Python
  3. Chapter 3 Some Basics You Must Know Before Becoming an Expert
  4. Chapter 4 Branches and Loops That Matter
  5. Chapter 5 Lists, Tuples, and Strings
  6. Chapter 6 Functions
  7. Chapter 7 Dictionaries and Sets
  8. Chapter 8 Permanent Storage
  9. Chapter 9 Exception Handling
  10. Chapter 10 Introduction to Graphical User Interfaces
  11. Chapter 11 Classes and Objects
  12. Chapter 12 Magic Methods
  13. Chapter 13 On the Self-Cultivation of a Web Crawler

FAQ

这本书是第1版还是第2版?两版差别大吗?
第1版2016年11月出版,ISBN 9787302438205,共16章、350页。第2版2019年6月出版,ISBN 9787302514084,共13章、422页,内容升级到Python 3.7,并新增爬虫、图形界面、Pygame游戏开发等应用章节和约30小时微课视频。入门学习建议直接选第2版。
书里的Python 3.7现在过时了吗?
基础语法部分(变量、列表、字典、函数、类与魔法方法)至今基本没有变化,完全可以照学。可能过时的主要是第三方库的安装方式与部分API,以及IDLE之外的开发工具选择,遇到问题查阅当前版本文档即可。
完全没有编程基础能看懂吗?
可以。本书定位就是零基础入门,从怎样安装Python、怎样打开IDLE讲起,概念尽量用生活化的例子引入,并配有课堂练习和视频讲解。但读者需要有一定的耐心,肯动手把代码敲一遍。
这本书有配套视频和课件吗?
有。第2版标注配套约30小时微课视频,作者小甲鱼在B站、网易云课堂等平台发布的同名系列教程也可配合使用;教师可向清华大学出版社申请PPT等教学资源。
学完这本书大概能到什么水平?
大致能掌握Python基础语法、常用数据结构、函数与面向对象的基本写法,并能用Tkinter做简单界面、用Pygame做小游戏、写简单的爬虫脚本。距离工程化开发仍有距离,之后建议继续学习算法、数据库或具体方向框架。

Comments

Find this book

This site is an index: you start “Search all sources” in your browser, and the entries it lists all point to third-party sites; please judge their availability yourself.

More by the same author

Top rated in the same category