Skip to content

Python#

You're going to be seeing and using Bash a lot in CI/CD pipelines and more, but Python is another language that is extremely popular in CloudOps and DevOps.

Note

The AWS CLI tool, and a well known automation tool called Ansible, are written in Python.

We're going to explore the basics of Python at a high level. We want to get you to the point were you can read a Python script and even write your own, simple automations in Python.

Key Points#

  1. Installation
  2. Comments
  3. Variables
  4. Types
  5. Functions
  6. Flow Control
  7. Loops
  8. Input/Output