Status: In Progress Prerequisites: Module 02 - Linux
Python is the lingua franca of DevOps automation. This module covers syntax, data structures, file I/O, and scripting patterns that form the foundation for infrastructure automation.
- Understand
print()withsepandendparameters - Variables, types, and control flow
- Functions and modules
- Data structures (lists, dicts, sets)
- File I/O and text processing
- Error handling
- Scripting patterns for DevOps tasks
- print() - sep and end - Output formatting fundamentals
- MongoDB + Flask Integration - pymongo setup, CRUD, ObjectId, connection pattern
- Lab 01 - Print Basics - 5 exercises covering print, sep, end
- Lab 01 Summary - Patterns learned and real-world connections
- Lab 02 - Error Handling - try/except/else/finally/raise/custom exceptions
- Lab 03 - Flask + MongoDB Integration - MongoDB Atlas, pymongo, ObjectId, .env, circular imports
To be added.
Updated as the module progresses.
Content will be added as the course progresses.