📜  如何查找 python 模块的路径 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:47.748000             🧑  作者: Mango

代码示例2
import imp
print("Location of Python os module sources:")
print(imp.find_module('os'))
print("\nLocation of Python time module sources:")
print(imp.find_module('time'))