# PyYAML Authors - PyYAML Documentation (Highlights) ![rw-book-cover|256](https://readwise-assets.s3.amazonaws.com/static/images/article3.5c705a01b476.png) ## Metadata **Cover**:: https://readwise-assets.s3.amazonaws.com/static/images/article3.5c705a01b476.png **Source**:: #from/readwise **Zettel**:: #zettel/fleeting **Status**:: #x **Authors**:: [[PyYAML Authors]] **Full Title**:: PyYAML Documentation **Category**:: #articles #readwise/articles **Category Icon**:: 📰 **Document Tags**:: #python **URL**:: [pyyaml.org](https://pyyaml.org/wiki/PyYAMLDocumentation) **Host**:: [[pyyaml.org]] **Highlighted**:: [[2020-02-29]] **Created**:: [[2022-09-26]] ## Highlights - ↩︎ ```python from yaml import load, dump try: from yaml import CLoader as Loader, CDumper as Dumper except ImportError: from yaml import Loader, Dumper # ... data = load(stream, Loader=Loader) # ... output = dump(data, Dumper=Dumper) ``` ∎