Skip to content

Demo preview. Courses, instructors, reviews and prices are sample content. Payments are simulated.

XOps, home
BeginnerDemo course

Python for Infrastructure Automation

Write reliable Python scripts that talk to APIs, manage files and automate repetitive operations work.

4.6 out of 5(947)7,020 learnersUpdated 2 Oct 2026
Instructor Vikram Sethi
Duration
3 h 39 min
Lessons
14
Level
Beginner
Language
English

What you will learn

  • Write clear Python scripts with functions and modules
  • Read and write JSON, YAML and CSV files
  • Call REST APIs with authentication and error handling
  • Automate cloud tasks with an SDK
  • Make scripts safe to rerun
  • Package a script as a command-line tool with tests

About this course

Most operations work starts as a manual checklist. This course teaches enough Python to turn those checklists into scripts that are tested and safe to rerun.

You will work with files and data formats, call REST APIs, handle errors and retries, use cloud SDKs and package scripts as small command-line tools.

Prerequisites

  • No Python experience required
  • Basic command-line use

Who this course is for

  • Operations engineers automating routine work
  • Beginners learning programming through practical tasks

Curriculum

4 sections · 14 lessons · 3 h 39 min total

  • Reading:Setting up PythonPreview9 min
  • Video:Variables, types and control flowPreview16 min
  • Video:Functions and modules15 min

Your instructor

Infrastructure Automation Engineer

Vikram automates infrastructure with Terraform and Python, and maintains environments across Azure and AWS.

He teaches automation as a way to make changes reviewable, repeatable and reversible.

Learner reviews

Sample reviews for this preview

4.6

4.6 out of 5

947 ratings (sample)

5 star
67%
4 star
23%
3 star
7%
2 star
2%
1 star
1%
  • Ravi C.

    Sample

    5.0 out of 5

    Well structured

    Short lessons, clear goals and labs that build on each other. Easy to fit around work.

  • Neha A.

    Sample

    4.0 out of 5

    Useful and to the point

    Practical examples rather than theory for its own sake. I applied two techniques the same week.

  • Tarun L.

    Sample

    5.0 out of 5

    Exactly the level I needed

    Assumes the right amount of prior knowledge and explains the why behind each step.