Python: The Complete Reference cover

Python: The Complete Reference

No rating yet
Chapters
8
ISBN
9787302053378

Tags

Summary

This book is a Chinese-language reference manual for the Python language, translated from Python: The Complete Reference by Martin C. Brown. It first briefly introduces the basic principles and composition of Python, then uses numerous examples to progressively explain Python's core syntax, methods for using the standard library, approaches to rapid application development, Web development methods, cross-platform development ideas, and Python's internal mechanisms, C extension, and embedding techniques, with appendices providing a Python library guide and resource information. The book is structured into six parts and two appendices: Part 1 covers the basic principles and runtime environment of the Python language; Part 2 systematically reviews the standard library and discusses advanced usage of modules and object orientation; Part 3 discusses methods for rapid application development with Python; Part 4 addresses Web development, including using Python to process documents such as SGML, HTML, and XML; Part 5 focuses on cross-platform development; Part 6 goes deep into Python's internal mechanisms, including writing extensions in C and embedding Python in C programs. As a translated work published in 2002, the book reflects the language and ecosystem around Python 2.0; some libraries and syntax details differ from current Python 3, so readers should focus on understanding programming ideas and engineering methods, and refer to official documentation for specific APIs.

Editor's review

这本书是较早进入中文世界的Python系统性参考书之一,译者康博,由清华大学出版社与麦格劳-希尔合作引进,原书为Martin C. Brown的《Python: The Complete Reference》。它的价值不在于教最新的语法,而在于把Python当作一门完整工程语言来讲述:从语言原理、标准库,到快速开发、Web开发、跨平台乃至C扩展与嵌入,六大部分加两个附录构成了一个相对完整的技术地图。 对现在的读者而言,书中的代码基于Python 2早期版本,部分标准库已经发生变化,直接照抄代码大概率无法运行。但书里对「为什么用Python做快速开发」「标准库如何组织」「解释器如何与C交互」等问题的讲解方式,仍有助于建立对Python生态的整体认识。它更适合作为技术史与体系化阅读的补充材料,而不是当下的入门首选。

Who it's for

A good fit for

  • 想了解Python早期生态与语言演变的读者
  • 需要一份体系化语言全貌地图的中级程序员
  • 关注C扩展与嵌入Python机制的技术人员
  • 收藏计算机经典译著的技术书爱好者

Not a good fit for

  • 完全没有编程基础的零起点自学者
  • 只想学习Python 3最新语法与第三方库的读者
  • 希望用本书代码直接完成当前项目开发的人

Reading tips

  1. 把本书当作体系地图来读,先看目录和第六部分,再按需查阅对应章节。
  2. 书中示例基于旧版本,动手时请改用Python 3环境并对照官方文档修正API。
  3. 可配合一本现代的Python入门书并行阅读,用新书补足语法与库的时效性。

About the publisher

Tsinghua University Press China · Founded in 1980

Founded in 1980, Tsinghua University Press has 57 titles in our collection, covering popular science, medicine, health, law, philosophy and social sciences. Representative works include medical popular-science books such as Cancer Truth: Doctors Are Reading It Too and New Knowledge on Cancer by Bo Luo (Li Zhizhong), legal titles such as Sunshine Is the Best Preservative: Express Delivery of Major Global Anti-Corruption Cases, and works like Qi Ge's A Brief History of Philosophy with Big Ideas and Liu Yunhao's From the Internet to a New Industrial Revolution. Its authors include science writers, medical researchers, the Renmin University of China anti-corruption master's class and university scholars, reflecting a publishing profile that balances academic seriousness with accessible reading. As public information is limited, this profile is based only on the titles in our collection.

Contents

  1. Part 1 Foundations of the Python Language
  2. Part 2 The Python Standard Library
  3. Part 3 Rapid Application Development
  4. Part 4 Web Development
  5. Part 5 Cross-Platform Development
  6. Part 6 Python Internals
  7. Appendix A Python Library Guide
  8. Appendix B Python Resource Information

FAQ

这本书现在读还有价值吗?
书中的语法与标准库基于Python 2早期版本,直接使用会碰到不少差异。但它对语言整体结构、快速开发方法、C扩展与嵌入机制的讲述仍具参考价值,适合当作体系化阅读与技术史材料,而不是当下的入门或查询首选。
本书的原书名和作者是谁?
原书为Martin C. Brown所著的《Python: The Complete Reference》,由麦格劳-希尔出版,中文版由康博翻译、清华大学出版社于2002年出版,ISBN为9787302053378。
适合零基础读者直接入门吗?
不太适合。本书定位是参考手册,覆盖面广但不在教学法上做过多铺垫,且示例代码年代久远。零基础读者更宜先从现代Python入门教材开始,再把本书作为全貌浏览的补充。

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.

Top rated in the same category