#!/usr/bin/env python # -*- coding:utf-8 -*- import sys for i in sys.path: print(i) Python3.5的代码 转载于:https://www.cnblogs.com/yigongzi/p/6860550.html