feat: 初版

This commit is contained in:
范胜发
2022-12-13 14:54:11 +08:00
commit 7b04d8bc16
12 changed files with 371 additions and 0 deletions

9
loadYaml.py Normal file
View File

@ -0,0 +1,9 @@
import yaml
def loadYaml(path):
file = open(path, encoding='utf-8')
configData = file.read()
file.close()
config = yaml.safe_load(configData)
return config