被取代的模块P
本章中描述的模块均已弃用,仅保留用于向后兼容。 它们已经被其他模块所取代。
optparse
--- 解析器的命令行选项- 背景
- 教程
- 参考指南
- Option Callbacks
- Defining a callback option
- How callbacks are called
- Raising errors in a callback
- Callback example 1: trivial callback
- Callback example 2: check option order
- Callback example 3: check option order (generalized)
- Callback example 4: check arbitrary condition
- Callback example 5: fixed arguments
- Callback example 6: variable arguments
- Extending
optparse
imp
--- Access the import internals