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 基础、想深入算法、数据分析或框架开发的人
- 希望系统学习计算机原理与编程理论的读者
- 只想查语法速查表、不愿逐题动手敲代码的人
Reading tips
- 务必关掉复制粘贴,逐字手打每一道习题的代码,并亲手制造错误再修复
- 按顺序推进,每完成5—6个习题回头重做一次,把附加练习当作必修而非选做
- 在命令行与简单文本编辑器中练习,配合作者视频理解破坏与调试代码的过程
- 若使用现代 Python 3 环境,遇到 print 语句等旧版语法时参考《“笨办法”学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
- Content Summary
- Translator's Preface
- Foreword
- Exercise 0: Preparation
- Exercise 1: The First Program
- Exercise 2: Comments and the # Sign
- 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 Is That?
- Exercise 11: Asking Questions
- Exercise 12: Prompting Others
- Exercise 13: Parameters, Unpacking, and Variables
- Exercise 14: Prompting and Passing
- Exercise 15: Reading Files
- Exercise 16: Reading and Writing Files
- Exercise 17: More File Operations
- Exercise 18: Names, Variables, Code, and Functions
- Exercise 19: Functions and Variables
- Exercise 20: Functions and Files
- Exercise 21: Functions Can Return Something
- Exercise 22: What Have You Learned So Far?
- Exercise 23: Read Some Code
- Exercise 24: More Practice
- Exercise 25: Even More Practice
- Exercise 26: Congratulations, You Can Take the Test Now!
- Exercise 27: Memorizing Logic
- Exercise 28: Boolean Expression Practice
- Exercise 29: The if Statement
- Exercise 30: else and if
- Exercise 31: Making Decisions
- Exercise 32: Loops and Lists
- Exercise 33: The while Loop
- Exercise 34: Accessing Elements of Lists
FAQ
这本书和《“笨办法”学Python 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.