Loading video player…

YAML: Python's Missing Battery (Overview)

Python is often marketed as a batteries-included language because it comes with almost everything you’d ever expect from a programming language. This statement is mostly true, as the standard library and the external modules cover a broad spectrum of programming needs. However, Python lacks built-in support for the YAML data format, commonly used for configuration and serialization.

In this video course, you’ll learn how to work with YAML in Python using the available third-party libraries, with a focus on PyYAML. If you’re new to YAML or haven’t used it in a while, then you’ll have a chance to take a quick crash course before diving deeper into the topic.

In this video course, you’ll learn how to:

  • Read and write YAML documents in Python
  • Serialize Python’s built-in and custom data types to YAML
  • Safely read YAML documents from untrusted sources

Notably, you’ll learn about YAML’s advanced, potentially dangerous features and how to protect yourself from them.

Download

Sample Code (ZIP)

9.3 KB
Download

Course Slides (PDF)

1.2 MB

Become a Member to join the conversation.