Learn Python 3 the Hard Way
Tags
Summary
Editor's review
Who it's for
A good fit for
- 零基础、从未写过代码但想系统入门 Python 的读者
- 愿意每天固定投入时间、能坚持完成重复练习的自学者
- 计算机专业低年级学生,用来补齐动手编码和调试能力
- 转行求职者,希望通过完整项目实践建立编程信心
- 偏好“先动手再理解”学习方式、不喜欢大段理论讲述的人
Not a good fit for
- 希望快速上手数据分析、爬虫或框架开发而不想练基本功的读者
- 只想读不想敲代码、缺乏自律的读者
- 已有扎实 Python 基础、想深入算法或工程架构的进阶者
Reading tips
- 务必逐字手敲代码,不要复制粘贴,并故意改坏几处观察报错信息
- 每完成一个习题先独立做附加练习,再对照书中的常见问题解答
- 把 52 个习题拆成每日 1–2 个的节奏,坚持四周左右完成一轮
- 阅读时用 Python 3.6 以上的现行版本运行示例,注意环境与书中的差异
About the publisher
Posts & Telecom Press is known for its strengths in science and technology, computing, and information and communications titles, and has extended its publishing into photography, art, software learning, and inspirational growth, giving it a fairly diverse range. Its catalog includes computing and communications works such as Refactoring and Patterns (Revised Edition) and Huawei Switch Learning Guide (Second Edition), alongside bilingual collector's editions such as The Little Prince (Chinese-English-French illustrated collector's edition), The Great Gatsby, and Three Days to See. Beijing Ten Years: 1980-1990 and Ghost Blade: WLOP Personal Illustration Collection reflect its presence in photography and art. Its authors include Antoine de Saint-Exupéry, Helen Keller, Joshua Kerievsky, Wang Da, Zhang Zhaozeng, and WLOP.
Contents
- Exercise 0: The Setup (macOS / Windows / Linux / Online Search / A Warning for Beginners)
- Exercise 1: A Good First Program
- Exercise 2: Comments and Pound Characters
- Exercise 3: Numbers and Math
- Exercise 4: Variables and Names
- Exercise 5: More Variables and Printing
- Exercise 6: Strings and Text
- Exercise 7: More Printing
- Exercise 8: Printing, Printing
- Exercise 9: Printing, Printing, Printing
- Exercise 10: What Was That?
- Exercise 11: Asking Questions
- Exercise 12: Prompting People
- Exercise 13: Parameters, Unpacking, Variables
- Exercise 14: Prompting and Passing
- Exercise 15: Reading Files
- Exercise 16: Reading and Writing Files
- Exercise 17: More Files
- Exercise 18: Names, Variables, Code, Functions
- Exercise 19: Functions and Variables
- Exercise 20: Functions and Files
- Exercise 21: Functions Can Return Something
- Exercise 22: What You Have Learned So Far
- Exercise 23: Read Some Code
- Exercise 24: More Practice
- Exercise 25: Even More Practice
- Exercise 26: Congratulations, Take a Test!
- Exercise 27: Memorizing Logic
- Exercise 28: Boolean Practice
- Exercise 29: What If
- Exercise 30: Else and If
- Exercise 31: Making Decisions
- Exercise 32: Loops and Lists
- Exercise 33: While Loops
- Exercise 34: Accessing Elements of Lists
- Exercise 35: Branches and Functions
- Exercise 36: Designing and Debugging
- Exercise 37: Symbol Review
- Exercise 38: Doing Things to Lists
- Exercise 39: Dictionaries, Oh Lovely Dictionaries
FAQ
这本书适合完全没有编程基础的人吗?
书中的代码需要最新版 Python 吗?
为什么强调不要复制粘贴代码?
书中是否包含配套视频?
52 个习题大概需要多久学完?
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.