Not built into Python so you install pyyaml:
pip install pyyaml
You can then use pyyaml.safe_load( file_handle ) to parse into Python object.
Watch video How to parse a YAML file with Python 🐍 online without registration, duration hours minute second in high quality. This video was added by user ModernPython 16 December 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 827 once and liked it 16 people.