PEP-3102 建议了 Keyword-Only Arguments,并且在 Python3 中实现。本文试着在 Python 函数参数的基本理解 基础上,更深入的理解 Keyword-Only Arguments.
2022-01-05
标签:
PYTHON
本文综述 Python 函数的参数类型和捕获过程。parameter 的作用是捕获 argument,又叫做 参数处理机制(parameter handling mechanism),本文的主题围绕这一个捕获过程。
2022-01-05
标签:
PYTHON
Python2 的噩梦:UnicodeDecodeError: ‘gbk’ codec can’t decode byte 0xxx in position 0: illegal multibyte sequence
2021-12-31
标签:
PYTHON