pip install pyyaml
member.yaml
developer: - june - hello - world
import yaml with open('members.yaml') as file: members = yaml.load(file, Loader=yaml.FullLoader) print(members)
{'developer': ['june', 'hello', 'world']}
python - pyyaml 기본 사용법 2019.11.11
PyYAML
%YAML 1.2
Reading and Writing YAML to a File in Python
Last updated 5 years ago
Was this helpful?