Intermediate
Python for Linux Operations
Use Python for safe automation, structured data, subprocess handling, APIs and maintainable operational tools.
Start this path →What you’ll be able to do
- Write small scripts with clear inputs and outputs
- Handle subprocess errors and structured data safely
- Add logging, tests and dry-run controls
Your route through the course
0 / 10 completedFollow the order for a guided experience. Lessons remain open if you need to revisit or jump ahead.
01Guided lessonPython scripts and virtual environmentsExplain why an isolated environment helps keep a small automation project reproducible.30 min · Not started02Guided lessonFiles, CSV and JSON safelyDesign a script that reads a CSV inventory and reports rows missing a hostname.35 min · Not started03Guided lessonSubprocesses and exit codesReview a script that interpolates a user-supplied filename into shell=True and propose safer handling.40 min · Not started04Guided lessonLogging, tests and dry-run modePlan tests for a cleanup script that identifies old files but should not delete anything during dry run.45 min · Not started05Guided lessonFiles, CSV and structured dataRead structured records with validation and handle malformed input safely.35 min · Not started06Guided lessonSubprocesses, timeouts and testsRun a bounded subprocess with timeout, captured output and testable error handling.35 min · Not started07Guided lessonReading files and parsing command output safelyExplore reading files and parsing command output safely through a structured explanation, a safe hands-on exercise and a verification checklist.35 min · Not started08Guided lessonSubprocess execution with checked return codesExplore subprocess execution with checked return codes through a structured explanation, a safe hands-on exercise and a verification checklist.35 min · Not started09Guided lessonStructured logging and configuration filesExplore structured logging and configuration files through a structured explanation, a safe hands-on exercise and a verification checklist.35 min · Not started10Guided lessonBuilding a small health-check utilityExplore building a small health-check utility through a structured explanation, a safe hands-on exercise and a verification checklist.35 min · Not started