python定義搜索優先順序

sys.path.insert(0, 「./a」)定義搜索路徑的優先順序,序號從0開始,表示最大優先級,sys.path.insert()加入的也是臨時搜索路徑,程序退出後失效。web
相關文章
相關標籤/搜索