Commit ·
2e81bd8
1
Parent(s): 810347e
Update src/get_api_key.py
Browse files12345675891011import jsonimport os
# 构建config.json文件的路径config_file_path = os.path.join("config", "config.json")
# 读取配置文件with open("config.json", "r") as config_file:with open(config_file_path, "r") as config_file: config = json.load(config_file)
# 设置环境变量src/get_api_key.py+4-1