如何从其它目录导入py文件 import sys sys.path.append("文件目录地址") from xxx import xxx 转载于:https://www.cnblogs.com/R-bear/p/7107684.html