07 Oct 2016
pip install pyyaml
import yaml def yaml_parser(file): with open('file', 'r') as f: yml = yaml.load(f)[0] return yml