摘要:
Python traceback 模块,追踪错误 import traceback try: your code except: traceback.print_exc() 阅读全文
posted @ 2019-01-09 14:39
ibingshan
阅读(470)
评论(0)
推荐(0)
摘要:
python inspect 模块 和 types 模块 判断是否是方法,模块,函数等内置特殊属性 inspect import inspect def fun(): pass inspect.ismodule(fun) inspect.isclass(fun) inspect.ismethod(f 阅读全文
posted @ 2019-01-09 14:29
ibingshan
阅读(669)
评论(0)
推荐(0)

浙公网安备 33010602011771号