8. 数据类型

本章节描述的模块提供了一系列专门的数据类型例如日期与实践,固定类型的数组,堆队列,同步队列与集合。

Python also provides some built-in data types, in particular, dict, list, set (which along with frozenset, replaces the deprecated sets module), and tuple. The str class can be used to handle binary data and 8-bit text, and the unicode class to handle Unicode text.

本章记录以下模块: