Skip to main content

Day 15 Task: Python Libraries for DevOps

Published 1 min readMarkdown

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, yaml etc that a DevOps Engineer uses in day-to-day tasks.

Tasks

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

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

    YAML (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.

No comments yet. Be the first to comment.

More from this blog