Course
Python for Automation & Ops
Python as the operations swiss army knife — filesystem work, subprocess discipline, SSH automation, cloud SDKs, scheduling, and scripts structured like real production programs.
Reviews
Enrolled members can rate this course.
No reviews yet.
Local Automation Foundations
Filesystem work, process execution, and command-line programs that behave like reliable tools.
- 01Filesystem Work Without Footgunspathlib, atomic writes, safe cleanup, symlink awareness, and the file-handling habits that keep automation from deleting the wrong thing.20mOpen
- 02subprocess Done RightHow to run external commands safely: argv arrays, timeouts, capture discipline, exit handling, shell avoidance, and cleanup of child processes.24mOpen
- 03Scripts as Real Programsargparse, logging, exit codes, configuration, dry-run mode, and small program structure that separates operators' tools from disposable snippets.22mOpen
Infrastructure and Fleet Automation
SSH, cloud SDKs, concurrency, and the operational patterns that make remote automation safe.
- 01SSH Automation Without a Pile of shell=TrueUsing ssh, paramiko, and rsync deliberately: host-key checking, quoting remote commands, batching, sudo, and failure isolation.25mOpen
- 02Cloud SDKs: boto3 and API RealityHow cloud APIs really behave: pagination, retries, throttling, eventual consistency, credentials, and defensive resource handling with boto3 as the example.24mOpen
- 03Concurrency for Fleet WorkThreadPoolExecutor, worker queues, bounded parallelism, cancellation, rate limits, and why most infrastructure automation is I/O-bound rather than CPU-bound.23mOpen
Running Automation in Production
Scheduling, idempotency, recovery, testing, and packaging scripts for long-lived operational use.
- 01Scheduling: cron, systemd Timers, and Overlap ControlHow production scripts actually run: cron syntax, systemd timer advantages, environment differences, lock files, jitter, logs, and missed-run behavior.21mOpen
- 02Idempotency, Recovery, and SecretsDesigning operations that can fail halfway: idempotent steps, checkpoints, reconciliation, safe retries, secret handling, and restoring trust after partial execution.26mOpen
- 03Testing and Packaging Ops ToolsUnit testing operational logic, faking external systems at the right boundary, integration smoke tests, dependency pinning, virtual environments, and safe rollout.23mOpen