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

python学习网 2019-02-03 13:18:02

环境:ipython3 交互式解释器

语法:

import 模块名

模块名.__file__

功能:

查看模块的所在位置

例:

阅读(2383) 评论(0)