python2: 1:import sys 2:print sys.path python3: 1:import sys 2:print(sys.path) 转载于:https://www.cnblogs.com/yanzhuping/p/9144302.html