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

时间:2023-03-09 06:45:35
sys.path.insert(0,"/path") 的用法

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