Python Essential Reference (4th Edition, Revised)
Tags
Summary
Editor's review
Who it's for
A good fit for
- 已掌握 Python 基础语法、希望系统补齐语言细节的中级开发者
- 经常需要查阅标准库模块用法的后端、运维与数据方向工程师
- 从事 C/C++ 开发、需要扩展 Python 或将 Python 嵌入自有程序的工程师
- 把 Python 作为第二语言、希望建立完整知识框架的程序员
Not a good fit for
- 完全没有编程基础的零起点读者,本书不承担入门教学功能
- 只想要项目实战案例、希望边做项目边学的读者
- 需要紧跟 Python 3.10 以后新特性(如模式匹配)的读者,本书成书较早
Reading tips
- 第一遍可只通读第一部分,把语言核心的边角知识补全,第二部分留作查阅。
- 配合官方文档一起使用:书中讲原理与要点,官方文档提供最新细节,互为补充。
- 每读到一个模块,就在自己的代码库里找一处可用场景改写或重构,加深记忆。
- 把书放在工位随手可取之处,遇到报错或拿不准的 API 先查目录再搜索,效率更高。
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
- Part I The Python Language
- Chapter 1 A Tutorial Introduction
- Chapter 2 Lexical Conventions and Syntax
- Chapter 3 Types and Objects
- Chapter 4 Operators and Expressions
- Chapter 5 Program Structure and Control Flow
- Chapter 6 Functions and Functional Programming
- Chapter 7 Classes and Object-Oriented Programming
- Chapter 8 Modules, Packages, and Distribution
- Chapter 9 Input and Output
- Chapter 10 The Execution Environment
- Chapter 11 Testing, Debugging, Profiling, and Tuning
- Part II The Python Library
- Chapter 12 Built-in Functions and Exceptions
- Chapter 13 Python Runtime Services
- Chapter 14 Mathematics
- Chapter 15 Data Structures, Algorithms, and Code Simplification
- Chapter 16 String and Text Handling
- Chapter 17 Python Database Access
- Chapter 18 File and Directory Handling
- Chapter 19 Operating System Services
- Chapter 20 Threads and Concurrency
- Chapter 21 Network Programming and Sockets
- Chapter 22 Network Applications
- Chapter 23 Web Programming
- Chapter 24 Internet Data Handling and Encoding
- Chapter 25 Miscellaneous Library Modules
- Part III Extending and Embedding
- Chapter 26 Extending and Embedding Python
- Appendix Python 3
FAQ
这本书适合零基础学 Python 吗?
书中的内容对应哪个 Python 版本?
这本书和《Python Cookbook》有什么区别?
修订版和 2011 年的第4版有什么不同?
523 页的篇幅能覆盖多少标准库内容?
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.