Chapter 3
Application Integration
Section 2
Using YAML for Configuration Files
Python offers a variety of ways to package application inputs and configuration files. Let’s look at writing files in YAML notation because it's elegant and simple. This video will show you how you can represent configuration details in YAML notation. - Import the yaml module - Use the yaml.load() function to load the YAML-syntax document