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.
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.
0 Comments