pyyaml

pyyaml

python library로 yaml Parser이다.

http://pyyaml.org/


pyyaml install

$ pip3 install pyyaml


$ vi test.yaml

---

Person: True

name: KimJeongChul

major: ComputerScience


$ python3

>>> import yaml

>>> stream = open(“test.yaml”, ‘r’)

>>> print(yaml.load(stream))



Comments