Python Cookbook (3rd Edition, Chinese Edition)
Tags
Summary
Editor's review
Who it's for
A good fit for
- 已掌握 Python 基础语法、希望提升代码质量的中级开发者
- 需要系统了解 Python 3 新特性与惯用写法的工程师
- 从 Python 2 迁移到 Python 3 且需要补课的程序员
- 把 Python 用于数据处理、脚本运维、Web 后端等具体工作的从业者
Not a good fit for
- 完全没有编程经验、第一次学 Python 的零基础读者
- 只想找一本语法速查手册、按函数名检索的人
- 期望只读一遍就从头到尾掌握的应试型读者
Reading tips
- 先通读目录,把与自己工作相关的小节标记出来,按问题驱动的方式选择性阅读。
- 每读一节都动手把示例代码敲一遍,再尝试改造成自己项目里的场景,验证理解是否到位。
- 遇到“讨论”部分中提到的边界条件和替代方案要重点留意,那是本书比普通教程更有价值的地方。
- 把本书当作长期工具书放在手边,每完成一个功能模块后回来对照,逐步把写法替换成更 Pythonic 的版本。
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
- Chapter 1: Data Structures and Algorithms
- Chapter 2: Strings and Text
- Chapter 3: Numbers, Dates, and Times
- Chapter 4: Iterators and Generators
- Chapter 5: Files and I/O
- Chapter 6: Data Encoding and Processing
- Chapter 7: Functions
- Chapter 8: Classes and Objects
- Chapter 9: Metaprogramming
- Chapter 10: Modules and Packages
- Chapter 11: Network and Web Programming
- Chapter 12: Concurrency
- Chapter 13: Utility Scripting and System Administration
- Chapter 14: Testing, Debugging, and Exceptions
- Chapter 15: C Extensions
- Appendix A: Online Resources (Python Learning Books, Advanced Books, About the Translator, Roadmap)
FAQ
这本书适合 Python 初学者吗?
中文版对应的是英文原版第几版?
书里的代码能在 Python 3.8、3.10 等新版本上运行吗?
这本书和《流畅的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.