reading yaml files in python
instlal PyYAML
$ pip install PyYAML
in python file, load file like the following
import yaml
somefile = '/path/file'
data = yaml.full\_load(somefile)
the data in yaml file will be saved in data
variable as a python dict.