Getting script filepath from an imported python module

前端 未结 0 394
走了就别回头了
走了就别回头了 2020-11-30 16:29

Let say I have a file a/b/c.py with following content.

import mymodule
a = mymodule.MyClass()
print(a.scri         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题