Python Automation and Scripting Training
This 2-day practical training teaches participants to automate real-world tasks with Python. From file operations and subprocess management to web scraping, CLI tools, and task scheduling, every module focuses on immediately applicable skills. Participants leave with a toolkit of production-ready automation scripts.
Automate everything with this practical 2-day training focused on real-world scripting and task automation. Learn to manipulate files, scrape websites, manage systems, and build CLI tools that save hours of repetitive work every week.
Training Details
| Duration | 2 days (16 hours) |
| Level | Beginner |
| Delivery | In-person, Live online, Hybrid |
| Certification | N/A |
Who Is This For?
- System administrators automating daily tasks
- DevOps engineers writing operational scripts
- Analysts automating data collection and reports
- Anyone who wants to eliminate repetitive manual work
- Teams adopting Python for internal tooling
Learning Outcomes
After completing this training, participants will be able to:
- Automate file and directory operations with pathlib and shutil
- Scrape and parse web content with requests and BeautifulSoup
- Manage system processes and execute shell commands from Python
- Build professional CLI tools with argparse and click
- Schedule and monitor automated tasks
- Package scripts for distribution and reuse across teams
Detailed Agenda
Day 1: File Operations and Web Scraping
Module 1: File System Automation
- pathlib for cross-platform file and directory operations
- Reading, writing, and transforming files (text, CSV, JSON, YAML)
- Batch renaming, organizing, and archiving with shutil
- Hands-on: Build a file organizer that sorts files by type, date, and size
Module 2: Working with Structured Data
- Parsing CSV files with the csv module and pandas
- Reading and writing JSON and YAML configuration files
- Working with Excel files using openpyxl
- Hands-on: Automate a weekly report that aggregates data from multiple sources
Module 3: Web Scraping
- HTTP requests with the requests library
- HTML parsing with BeautifulSoup
- Handling pagination, authentication, and rate limits
- Hands-on: Scrape product listings and export to a structured format
Module 4: Working with APIs
- RESTful API consumption with requests
- Authentication with API keys and OAuth tokens
- Parsing JSON responses and handling errors
- Hands-on: Build a Slack/Teams notification bot using webhooks
Day 2: System Administration and CLI Tools
Module 5: System Administration
- Running shell commands with subprocess
- Process management and monitoring
- Environment variables and configuration management
- Hands-on: Build a system health check script that monitors disk, memory, and services
Module 6: Regular Expressions for Text Processing
- regex patterns for search, match, and substitution
- Parsing log files and extracting structured data
- Text transformation and cleanup automation
- Hands-on: Build a log analyzer that extracts errors and generates summaries
Module 7: Building CLI Tools
- argparse for command-line argument parsing
- click for professional CLI applications
- Rich output with colors, progress bars, and tables
- Hands-on: Build a multi-command CLI tool for project management tasks
Module 8: Scheduling and Packaging
- Scheduling scripts with cron and schedule library
- Logging with the logging module
- Packaging scripts with pyproject.toml and entry points
- Hands-on: Package, schedule, and deploy an automation script to run on a server
Prerequisites
- Basic computer literacy and command line familiarity
- Python Fundamentals or basic Python knowledge (variables, loops, functions)
- No prior automation experience required
- Access to a laptop with Python 3.10+ installed
Delivery Formats
| Format | Description |
|---|---|
| In-Person | On-site at your company's location, hands-on with direct interaction |
| Live Online | Interactive virtual sessions with screen sharing and real-time labs |
| Hybrid | Combination of on-site and remote sessions, flexible scheduling |
All formats include hands-on labs, course materials, ready-to-use script templates, and post-training support.
Ready to get started?
Request a training quote for your team — in-person, live-online, or hybrid.