阅读背景:

如何在Python中获取类的文件路径?

来源:互联网 

Given a class C in Python, how can I determine which file the class was defined in? I need something that can work from either the class C, or from an instance off C.Given a class C in Python, how can I determine




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: