Python Library Reference Manual cover

Python Library Reference Manual

No rating yet
Chapters
12
ISBN
9789862763964

Tags

Summary

Python Library Reference Manual is a reference book on the Python 3 standard library written by Taiwanese technical author Chen Jianxun (traditional Chinese edition published in 2012 by GOTOP Information Inc., approximately 308 pages). The book does not aim to teach readers how to write Python programs; instead, it focuses on lookup and usage. The author organizes the modules in the Python standard library most relevant to everyday development by function, explaining the classes, methods, and functions within each module one by one, accompanied by brief examples so readers can directly compare parameters and return values during use.

The main text begins with an overview and then covers built-in functions, mathematical operations, string and text processing, database access, file and directory handling, data compression, Python runtime services, operating system services, web development tools, and network communication. This arrangement is similar to the chapter structure of Python's official library reference documentation, but the explanations are adapted more closely to the language habits of local readers, with each interface's purpose and common pitfalls explained in Chinese.

It should be noted that this book explicitly does not cover syntax instruction, nor does it cover newer versions of the Python 3 standard library: it is based on Python 3 versions around 2012, and some module interfaces (for example, recommended usage for network communication, database drivers, and web development tools) have changed in later versions. It is therefore better suited as supplementary material for cross-reference than as the sole authoritative source. Developing the habit of first using it to quickly locate modules and functions, then checking the official documentation for the current version, will allow you to make the most of its value.

Editor's review

把“Python 库参考手册”当作书名,市面上其实能对上好几本:官方的 Library Reference(中文译本常被这样叫)、David Beazley 的《Python 参考手册》,以及这本陈建勋的《Python 3 程式庫參考手冊》。经过核对,ISBN 9789862763964 对应的是后者,所以本条目以它为准,作者一栏也因此有了确切来源,不必再留空。 这本书的定位很明确:它不是教材,而是一本翻查用的工具书。作者把内置函数、数学运算、文本处理、数据库、文件目录、压缩、系统服务、网站开发与网络通讯等模块分章铺开,逐个说明类别、方法与函数的用途,并配上短小示例。对习惯了英文官方文档、又希望用中文快速理解参数含义的读者来说,这种“中文注解 + 示例”的组合相当省力。 它也有明显的时代局限。书的底本是 2012 年的 Python 3,像 asyncio、类型注解、新版 pathlib、现代打包工具等内容都不在其中;有些网络与数据库模块的第三方生态也已经换了主角。所以更推荐把它当成“概念速查表”:先用它弄清某个模块大致能干什么、关键函数怎么传参,再回到 docs.python.org 核对当前版本的差异。这样读,一本旧参考书依然能长期留在桌边。

Who it's for

A good fit for

  • 已掌握 Python 基本语法,需要随时查标准库函数用法的人
  • 习惯中文材料、觉得英文官方文档读起来吃力的自学者
  • 从 Python 2 转向 Python 3、想系统熟悉标准库模块的人
  • 需要一本桌面工具书来补充官方文档的程序员

Not a good fit for

  • 零基础、还没写过 Python 程序的初学者(本书不教语法)
  • 需要 asyncio、类型注解等较新特性权威说明的读者
  • 只想通过整本通读来系统学习编程的读者

Reading tips

  1. 不要从头读到尾,遇问题时按“模块名 + 函数名”查章节,再动手敲一遍示例
  2. 每个模块读完,回到官方文档比对当前 Python 版本的接口变化,标注差异
  3. 结合自己的项目列出常用模块清单,只精读清单内章节,其余留作速查

Contents

  1. Preface
  2. Chapter 01: Introduction
  3. Chapter 02: Built-in Functions
  4. Chapter 03: Mathematical Operations
  5. Chapter 04: Strings and Text
  6. Chapter 05: Databases
  7. Chapter 06: Files and Directories
  8. Chapter 07: Data Compression
  9. Chapter 08: Python Runtime Services
  10. Chapter 09: Operating System Services
  11. Chapter 10: Web Development Tools
  12. Chapter 11: Network Communication

FAQ

这本书是 Python 官方库参考文档的中文版吗?
不是。它是陈建勋独立编写的繁体中文参考书,按主题归类讲解标准库模块并附示例,思路接近官方文档但并非官方译本,也不对应某个官方版本的完整内容。
零基础可以直接看这本书学 Python 吗?
不建议。作者在前言中明确表示本书不讨论语法,初学者应另备一本 Python 入门书,把本书当作入门之后查询标准库的补充工具。
书里的例子在 Python 3.12 上还能运行吗?
大部分基础模块示例仍可用,但涉及网络通讯、数据库驱动和部分系统接口的例子可能因版本与生态变化而失效。建议以官方文档为准,把书中示例作为理解入口而非最终代码。
书名叫《Python库参考手册》,和《Python参考手册》是同一本吗?
不是。后者通常指 David M. Beazley 著、人民邮电出版社出版的中译本,ISBN 为 9787115394392,内容覆盖语言核心、标准库与扩展嵌入,体量更大,两者切勿混淆。

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.

About the author

陈建勋 Author

Chen Jianxun: publicly available information is limited. The information currently confirmed centers on one finance-related work, New Thinking on Building Global Science and Technology Innovation Centers. Judging from the title and its common classification, the book focuses on the paths and ideas for building global centers of scientific and technological innovation, a subject at the intersection of finance and science and technology policy. The writing tends toward macro-level analysis and the organization of key issues, aimed at readers interested in urban innovation, industrial upgrading, and science and technology governance. Because the author's personal background, nationality, dates of birth and death, and English name are not recorded in the available materials, this profile does not speculate and presents the author's writing focus only through the work. On the basis of the existing information, Chen Jianxun's writing shows a sustained interest in the practical issue of building innovation centers, and the work offers a reference perspective for related discussion.

More by the same author

Top rated in the same category