图片解析应用
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

10 lines
212 B

#coding:utf8
import yaml
import logging.config
def load_config():
"""加载配置文件"""
with open("config.yml", "r",encoding='UTF-8') as file:
config = yaml.safe_load(file)
return config