initial commit

This commit is contained in:
2024-02-22 13:40:14 -08:00
commit 4a6257ec6c
13 changed files with 310 additions and 0 deletions

10
yamlcon.py Normal file
View File

@@ -0,0 +1,10 @@
import yaml
def load(path):
with open(path, 'r') as file:
try:
data = yaml.safe_load(file)
return data
except yaml.YAMLError as e:
print(f"Error reading YAML file {path}: {e}")
return None