可以选择用sys.path.insert(0,‘/path’),这样新添加的目录会优先于其他目录被import检查
sys.path.insert(0,"path")
猜你喜欢
转载自www.cnblogs.com/haiboxiaobai/p/11511285.html
今日推荐
周排行