
Python For Automation Course
Stop wasting hours on repetitive tasks you could automate in minutes. This course teaches you Python automation from the ground up — covering files, web scraping, databases, emails, and more. You will build real scripts that solve real problems, fast.
What you will learn:
You will start with Python fundamentals and quickly move into practical automation across every major domain. You will learn to manipulate files and directories, scrape websites, consume REST APIs, and interact with databases. The course covers automating Excel, Word, and PDF documents, sending emails and chat notifications, and scheduling scripts to run on their own. You will also apply software engineering best practices including testing, logging, and deployment. By the end, you will have a portfolio of working automation tools ready for any professional environment.
How you study in practice Python For Automation Course
How you practise Python For Automation Course
For companies looking to train their teams
With Dedika for Businesses, the course includes exercises and examples tailored to your own business and the specific needs of your company.
Course content
8 Chapters • 34 LessonsDuration between 4 and 360 hours (you decide)
Chapter 1HideHide detailsSee detailsPython Foundations for Automation
Python Foundations for Automation
Lesson 1 • Core Python Syntax Essentials
Cover variables, data types, operators, and control flow constructs. These primitives underpin every automation script written later in the course.
Lesson 2 • Error Handling and Debugging
Use try/except blocks and built-in debugging tools to write resilient scripts. Reliable error handling is critical for unattended automation tasks.
Lesson 3 • Setting Up the Python Environment
Install Python, configure a virtual environment, and choose an IDE suited for automation work. Establishes the baseline toolchain used throughout the course.
Lesson 4 • Functions and Code Reusability
Define, call, and organise functions to eliminate repetition in automation scripts. Introduces scope, default arguments, and return values.
Chapter 2HideHide detailsSee detailsWorking with Files and Directories
Working with Files and Directories
Lesson 1 • Reading and Writing Text Files
Open, read, write, and append plain text files using built-in file I/O. Text file manipulation is the entry point for most data-processing automation tasks.
Lesson 2 • Processing CSV and JSON Data Files
Parse and generate CSV and JSON files, the two most common automation data formats. Connects file I/O skills to structured data manipulation.
Lesson 3 • Navigating the File System with os and pathlib
Traverse directories, check paths, and perform file operations using os and pathlib. Builds the navigation skills needed for bulk file automation.
Lesson 4 • Archiving, Compression, and File Transfers
Create ZIP archives, compress files, and move data between locations programmatically. Enables automated backup and distribution workflows.
Chapter 3HideHide detailsSee detailsAutomating the Command Line and OS
Automating the Command Line and OS
Lesson 1 • Managing Processes and System Resources
Monitor, start, and terminate processes and query system resource usage with psutil. Enables automation scripts that respond to system state.
Lesson 2 • Environment Variables and System Configuration
Read, set, and manage environment variables to configure scripts without hardcoding values. Supports portable, environment-aware automation scripts.
Lesson 3 • Scheduling and Running Automated Tasks
Schedule Python scripts to run at defined intervals using OS-level schedulers and Python libraries. Converts one-off scripts into reliable recurring automation.
Lesson 4 • Running Shell Commands with subprocess
Launch external programs and capture their output using the subprocess module. Bridges Python scripts with any command-line tool available on the system.
Chapter 4HideHide detailsSee detailsWeb Scraping and HTTP Automation
Web Scraping and HTTP Automation
Lesson 1 • Consuming and Automating REST APIs
Authenticate with and consume REST APIs to automate data retrieval and submission. Connects web automation to modern service-based architectures.
Lesson 2 • Handling Dynamic and JavaScript-Rendered Pages
Scrape content rendered by JavaScript using Selenium and Playwright. Extends scraping capability beyond static HTML pages.
Lesson 3 • Making HTTP Requests with requests
Send GET, POST, and other HTTP requests and handle responses programmatically. Provides the foundation for all web-based automation in this chapter.
Lesson 4 • Parsing HTML with BeautifulSoup
Navigate and extract data from HTML documents using BeautifulSoup selectors. Transforms raw web pages into structured, usable data.
Lesson 5 • Storing and Exporting Scraped Data
Save scraped results to CSV, JSON, and databases for downstream use. Completes the end-to-end data collection pipeline.
Chapter 5HideHide detailsSee detailsAutomating Office Documents and Spreadsheets
Automating Office Documents and Spreadsheets
Lesson 1 • Spreadsheet Data Analysis with pandas
Load, filter, aggregate, and export tabular data using pandas DataFrames. Bridges raw data files with automated reporting and analysis pipelines.
Lesson 2 • PDF Generation and Extraction
Extract text from PDFs and generate new PDF documents using PyPDF2 and reportlab. Enables automation of PDF-heavy administrative workflows.
Lesson 3 • Word Document Automation with python-docx
Generate and edit Word documents including headings, tables, and images using python-docx. Automates contract, report, and letter generation workflows.
Lesson 4 • Excel Automation with openpyxl
Create and manipulate Excel workbooks, sheets, and cells using openpyxl. Automates report generation and data entry tasks that previously required manual effort.
Chapter 6HideHide detailsSee detailsDatabase Automation with Python
Database Automation with Python
Lesson 1 • ORM-Based Data Automation with SQLAlchemy
Define database models as Python classes and automate CRUD operations using SQLAlchemy ORM. Reduces SQL boilerplate and improves script maintainability.
Lesson 2 • Automating Data Pipelines and ETL
Extract data from files and APIs, transform it, and load it into a database in automated pipelines. Applies all prior database skills to real-world data workflows.
Lesson 3 • Connecting to Production Databases
Use SQLAlchemy and database-specific drivers to connect to PostgreSQL and MySQL. Extends automation scripts to enterprise-grade database systems.
Lesson 4 • SQLite for Lightweight Data Storage
Create and query SQLite databases using Python's built-in sqlite3 module. Provides a zero-configuration database backend for automation scripts.
Chapter 7HideHide detailsSee detailsEmail, Notifications, and Messaging Automation
Email, Notifications, and Messaging Automation
Lesson 1 • Sending Emails with smtplib and MIME
Compose and send plain-text and HTML emails with attachments using smtplib. Automates report delivery, alerts, and confirmation messages.
Lesson 2 • SMS and Push Notification Automation
Send SMS and push notifications via third-party APIs to alert users in real time. Extends automation alerts beyond email to mobile channels.
Lesson 3 • Reading and Processing Incoming Email
Connect to mailboxes via IMAP to read, filter, and act on incoming messages. Enables trigger-based automation driven by email events.
Lesson 4 • Chat Platform Integration
Post messages and notifications to Slack and Microsoft Teams using webhooks and bots. Integrates automation scripts with team communication platforms.
Chapter 8HideHide detailsSee detailsBuilding Robust and Scalable Automation
Building Robust and Scalable Automation
Lesson 1 • Packaging and Deploying Automation Scripts
Package scripts as installable tools and deploy them to servers or containers. Transforms local scripts into shareable, deployable automation assets.
Lesson 2 • Testing Automation Scripts
Write unit and integration tests for automation code using pytest and mocking libraries. Ensures scripts behave correctly across environments and edge cases.
Lesson 3 • Structuring Automation Projects
Organise scripts into packages with clear separation of concerns and configuration management. Lays the architectural foundation for maintainable automation codebases.
Lesson 4 • Concurrency and Parallel Execution
Speed up automation tasks using threading, multiprocessing, and async I/O. Enables scripts to handle large workloads within acceptable time constraints.
Lesson 5 • Monitoring, Alerting, and Maintenance
Implement structured logging, health checks, and alerting to keep automation running reliably in production. Closes the loop between deployment and ongoing operations.
Your valid completion certificate
This course is for you:
Operations coordinator: spends hours on manual data entry and file management tasks.
IT support specialist: wants to script routine maintenance and monitoring jobs automatically.
Data analyst: needs to move beyond manual spreadsheet work into repeatable pipelines.
Small business owner: looking to automate invoicing, reporting, and communication workflows.
Career changer: transitioning into tech and wants a practical, job-relevant coding skill.
Researcher or scientist: aiming to automate data collection and processing for projects.
What our students say
Your lessons are perfect. I purchased the one-year package and finally have the opportunity to follow various topics of my interest without needing to change platforms... I'm grateful for everything you do, I've already recommended you to other people...

I like how the lessons are straight to the point and how I can change chapters and skip content I don't need.

I like the content and the way videos are presented and transcribed, which speeds up the process!

The platform is fast, simple to use. The diversity of content and complementary videos help a lot with learning.

Top trainings
FAQs
Who is Dedika?
Is the certificate valid in Pakistan?
Are the courses free?
What is the course workload?
What are the courses like?
How do the courses work?
What is the duration of the courses?
What is the cost or price of the courses?
What is an EAD or online course and how does it work?
PDF Course




















