File size: 186 Bytes
758a1eb
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
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)