sys添加调用模块的路径;遍历可以调用模块的路径

1 import sys
2 sys.path.append("D:")
3 for i in sys.path:
4     print(i)
原文地址:https://www.cnblogs.com/shiluoliming/p/6398664.html