且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在Python 2.5模块中列出方法?

更新时间:2022-12-12 18:34:57

以下是您至少可以做的一些事情:

Here are some things you can do at least:

import module

print dir(module) # Find functions of interest.

# For each function of interest:
help(module.interesting_function)
print module.interesting_function.func_defaults