PyYAML

Jmnote (토론 | 기여)님의 2020년 1월 21일 (화) 16:37 판 (→‎개요)

1 개요

PyYAML
  • 파이썬用 YAML 파서(parser) 및 방출기(emitter)
import yaml
with open("example.yaml", 'r') as stream:
    try:
        print(yaml.safe_load(stream))
    except yaml.YAMLError as e:
        print(e)

2 같이 보기

3 참고

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}