[python] How can I parse a YAML file in Python