Learn Python the Hard Way (3rd Edition)
Tags
Summary
Editor's review
Who it's for
A good fit for
- 完全没有编程经验、想从零开始学Python的读者
- 看书容易犯困、更愿意通过动手练习学习的人
- 需要一门结构化课程来督促自己坚持练习的自学者
- 准备转行或补充编程基础的非计算机专业学生
Not a good fit for
- 已有一定Python基础、想系统学习进阶特性的开发者
- 希望系统了解Python语言规范与原理的读者
- 想直接学习数据分析、机器学习等应用方向的人
Reading tips
- 提前配好Python 3环境,按书中习题顺序推进,不要跳着做。
- 严格遵守“禁止复制粘贴”的要求,逐字敲代码并观察每次运行结果。
- 遇到报错先自己排查,再对照书中的常见问题回答,养成调试习惯。
- 每完成一个阶段的习题,回头重做一次附加练习,巩固函数、循环与类等概念。
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
- Copyright Information
- Copyright Notice
- Summary
- Translator's Preface
- Preface
- Exercise 0: The Setup
- 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 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
FAQ
这本书适合零基础读者吗?
第3版和后来的新版有什么区别?
一定要严格手敲代码、不能复制吗?
学完这本书能达到什么水平?
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.