python常用命令—查看模块所在位置

环境:ipython3 交互式解释器

语法:

import 模块名

模块名.__file__

功能:

查看模块的所在位置

例:

猜你喜欢

转载自www.cnblogs.com/summer1019/p/10348689.html