python定义搜索优先顺序

sys.path.insert(0, “./a”)定义搜索路径的优先顺序,序号从0开始,表示最大优先级,sys.path.insert()加入的也是临时搜索路径,程序退出后失效。web
相关文章
相关标签/搜索