import json with open("static/files/code_province.json", "r", encoding="utf-8") as file: origin_codes = json.load(file)