Day 15 Task: Python Libraries for DevOps
Reading JSON and YAML in Python
As a DevOps Engineer, you should be able to parse files, be it Txt, json, yaml, etc.
You should know what all libraries one should use in Python for DevOps.
Python has numerous libraries like
os,sys,json,yamletc that a DevOps Engineer uses in day-to-day tasks.
Tasks
Create a Dictionary in Python and write it to a json File.


Read YAML file using Python, file
services.yamland read the contents to convert yaml to jsonYAML (short for "YAML Ain't Markup Language") is a human-readable data serialization language. It is often used as a configuration file format for applications and systems.


Happy learning,
Mohammed Muqafamuddin.
Comments
Join the discussionNo comments yet. Be the first to comment.