摘要: import inspect def get_module_path(module_name): module = __import__(module_name) file_path = inspect.getfile(module) return file_path # 示例用法 module_p 阅读全文
posted @ 2023-12-28 22:13 西北逍遥 阅读(31) 评论(0) 推荐(0) 编辑