This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import sys | |
import yaml | |
from pathlib import Path | |
def load_yaml_file(filepath): | |
with open(filepath, 'r') as file: | |
return yaml.safe_load(file) | |
def save_yaml_file(data, filepath): |
OlderNewer