How can I parse a YAML file in Python?
Example:
defaults.yaml
url: https://www.google.com
environment.py
from ruamel import yaml data = yaml.safe_load(open('defaults.yaml')) data['url']