1、目的 想對update_variable.py檔案中的配置進行修改,資料通過系統接口自動擷取 update_variable.py 2、代碼 update_file.py 3、運作後結果 OK,搞定! python對檔案中的關鍵詞查找替換,實作自動擷取配置