python中inspect使用

    利用inspect函数能够获取类中的docs, 类名,类以及类的代码,是否存在的模块等等。python #! /usr/bin/env python # -*- coding: utf-8 -*- import inspect import os class Test(object): """Test Class """ def test(self
相关文章
相关标签/搜索