Python模块位置代码 #!/usr/bin/env python # -*- coding:utf-8 -*- import sys for i in sys.path: print(i) Python3.5的代码