标准库(Standard Library)知识
内置对象
英文名称 | 中文名称 | 说明 |
---|---|---|
Built-in Functions | 内置函数 | print()等 |
Built-in Constants | 内置常量 | False等 |
Built-in Types | 内置类型 | |
Built-in Exceptions | 内置异常 |
常见模块
模块分类 | 模块名称(英文) | 模块名称(中文) |
---|---|---|
Data Types(数据类型) | datetime | 日期时间模块 |
Numeric and Mathematical | math | 数学函数模块 |
(数字和数学) | random | 生成伪随机数模块 |
Generic Operating System Services | os | 各种操作系统相关接口模块 |
(通用操作系统服务) | sys | 系统特定的参数和功能模块 |
time | 时间访问和转换模块 |