sys.path.insert(0,"/path") 的用法

可以选择用sys.path.insert(0,‘/path’),这样新添加的目录会优先于其他目录被import检查

posted @ 2020-03-15 18:33  Raymone1125  阅读(549)  评论(0)    收藏  举报