python查看import 模块的源码路径

import xxx

import inspect

print(inspect.getfile(xxx))

posted @ 2023-09-14 11:25  singyoutosleep  阅读(69)  评论(0)    收藏  举报