Python for DevOps
Automate the work you would otherwise do by hand - read logs, summarise them, take arguments and manage files with short Python scripts.
- Automating with Python: files and logsWrite four short scripts that count and summarise a log, take an argument, and archive big files. · 15 min · beginner
- Python: JSON config and a CLILoad and validate a JSON config, add an argparse CLI, merge environment overrides, write the result. · 13 min · beginner