ID_INFO / utils.py
Rakib023's picture
Create utils.py
758a1eb verified
import yaml
import os
def read_yaml(path):
with open(path) as f:
return yaml.safe_load(f)
def create_dirs(paths):
for p in paths:
os.makedirs(p, exist_ok=True)