Python库参考手册深入解析与扩展
Python is an extensible, interpreted, object-oriented programming language. It supports a wide range of applications, from simple text processing scripts to interactive Web browsers.
Python是一种可扩展的、即译式、面向对象的编程语言。它应用广泛,从简单的文字处理到交互式网页浏览器。
While the Python Reference Manual describes the exact syntax and semantics of the language, it does not describe the standard library that is distributed with the language, and which greatly enhances its immediate usability.
Python语言参考手册精确地描述了Python语言的语法及语义,但并未提到Python所附带的功能强大的标准库。该标准库极大增强了Python的实用性。
This library contains built-in modules (written in C) that provide access to system functionality such as file I/O, as well as Python modules that provide standardized solutions for common programming tasks.
此标准库包括用C语言编写的内建模块,提供系统功能(如文件输入输出),以及用Python编写的模块,解决实际编程中的常见问题。
This Library Reference Manual documents Python’s standard library, as well as many optional modules. It also covers the standard types, built-in functions, and exceptions, many of which are not or only partially documented in the Reference Manual.
该库参考手册详细记录了Python的标准库、许多可选模块、标准数据类型、内建函数和异常类。
This manual assumes basic knowledge about Python. Beginners should start with the Python Tutorial. The Python Reference Manual is the highest authority on syntax and semantics, and the Extending and Embedding manual explains how to extend or embed Python in other applications.
本手册假定读者对Python有基本了解。初学者应从Python指南开始,而语言参考手册则是语法与语义问题的权威解释。扩展或嵌入Python解释器手册解释了如何扩展Python或将其嵌入其他应用中。
评论区