目录引言一、理解问题:为什么需要减少参数个数1.1 多参数函数的调用困境1.2 参数固定的常见需求二、functools.partial基础2.1 partial函数的概念和语法2.2 基本使用示例2.3 参数固定规则详解三、partial的高级用法与
This question already has answers here: Getting the name of a variable as a string (31 answers) Closed 2 months ago.