python 提取所有函数 Posted on 2018-02-Wed Edited on 2018-04-Sun Views: Views: 123model_names = sorted(name for name in models.__dict__ if name.islower() and not name.startswith("__") and callable(models.__dict__[name]))