python 部分术语对照表

abstract base class – 抽象基类
annotation – 注解
argument – 参数
attribute – 属性
binary file – 二进制文件
bytes-like object – 字节类对象
bytecode – 字节码
class variable – 类变量
coercion – 强制类型转换
context manager – 上下文管理器
context variable – 上下文变量
decorator – 装饰器
descriptor – 描述器
docstring – 文档字符串
dictionary view – 字典视图
expression – 表达式
extension module – 扩展模块
file object – 文件对象
floor division – 向下取整除法
function – 函数
function annotation – 函数注解
garbage collection – 垃圾回收
generator – 生成器
IDLE
Python 的 IDE,“集成开发与学习环境”的英文缩写。是 Python 标准发行版附带的基本编程器和解释器环境。
import path – 导入路径
immutable – 不可变
interactive – 交互
interpreted – 解释型
iterator – 迭代器
key function – 键函数
list – 列表
loader – 加载器
mapping – 映射
metaclass – 元类
module – 模块
mutable – 可变
namespace – 命名空间
object – 对象
nested scope – 嵌套作用域
parameter – 形参
path entry – 路径入口
path-like object – 路径类对象
PEP
“Python 增强提议”的英文缩写。一个 PEP 就是一份设计文档,用来向 Python 社区提供信息,或描述一个 Python 的新增特性及其进度或环境。
portion – 部分
slots
一种写在类内部的声明,通过预先声明实例属性等对象并移除实例字典来节省内存。
regular package – 常规包
statement – 语句
special method – 特殊方法
slice – 切片
text file – 文本文件
text encoding – 文本编码
type – 类型
triple-quoted string – 三引号字符串
type alias – 类型别名
universal newlines – 通用换行
type hint – 类型提示
variable annotation – 变量注解
virtual environment – 虚拟环境
virtual machine – 虚拟机
Zen of Python – Python 之禅
列出 Python 设计的原则与哲学,有助于理解与使用这种语言。查看其具体内容可在交互模式提示符中输入 “import this”。

原文地址:https://www.cnblogs.com/HBU-xuhaiyang/p/12776027.html