Reading, Writing, and Parsing YAML Files
Description
YAML (Yet Another Markup Language) is a format for serializing data in a text file. It is similar to other textual data formats such as JSON and XML. YAML is widely used for storing configuration data for software applications, build systems, and deployment platforms.
Being able to read, write and parse YAML files will help you be more effective when working with modern cloud-based systems and applications.
In this lab, you will create a YAML file, parse the file using the Python scripting language, and learn about the different data structures YAML offers.
Learning Objectives
Upon completion of this beginner level lab, you will be able to:
- Author a YAML file
- Parse a YAML file using Python
- Identify and use different data structures in YAML
Intended Audience
- Cloud Architects
- Data Engineers
- DevOps Engineers
- Software Engineers
Prerequisites
Familiarity with the Python scripting language will be beneficial but is not required.
The following course and lab can be used to fulfill the prerequisite: