Day 15 - Python Libraries for DevOps

Day 15 - Python Libraries for DevOps

Day 15 of 90daysofdevops

ยท

1 min read

Tasks:

1.Create a Dictionary in Python and write it to a JSON File.

2.Read a JSON file services.json kept in this folder and print the service names of every cloud service provider.

output
aws : ec2
azure : VM
gcp : compute engine

3.Read YAML file using Python, file services.yaml and read the contents to convert yaml to json

YAML is a human-readable data serialization language. It is often used for configuration files, but can also be used for data exchange between applications.
YAML was designed to be easy to read and write for humans, with a simple syntax that is similar to plain English. It uses indentation and whitespace to define the structure and supports a variety of data types, including strings, numbers, booleans, lists, and maps.

Hope this Python article has been helpful. โœŒ๏ธ๐Ÿ‘€ Thanks for reading!!

~RITUL GUPTA

ย