Diwali offer: Flat 30% off on all courses plus free career counselling. Ends 5 Nov.Claim offer

Python for Automation Course in Delhi

Use Python to automate files, emails, web data and reports. Build a real automation tool as your final project at our Maujpur, Delhi centre.

3 Months Offline / Online Certificate Provided Project-Based Learning

Course Overview

Python for Automation at White Fortress Academy shows you how to make Python do repetitive work for you: organising files, collecting data from the web, sending emails and building reports.


You learn to work with files and folders, scrape public web pages, use APIs and JSON data, send automatic emails and notifications, and schedule scripts to run on their own. The course ends with a mini project where you build your own automation tool.


It suits learners who want practical results quickly, and it is a natural next step after our Python Programming course.

Who Should Join This Course?

Learners who know basic Python and want to apply it, office and IT staff who want to save time, and cyber security and data learners who need scripting skills.

Course Curriculum

30 modules · 91 topics

Automating File Management

4 modules
01

Files & Folders

3 topics
  • os & pathlib Basics
  • os module overview
  • pathlib Path objects
  • Reading & writing text files
  • with statement for files
  • Working with Paths
  • Absolute vs relative paths
  • Joining paths
  • File name, stem & extension
  • Checking whether files & folders exist
  • Listing & Inspecting Files
  • Listing folder contents
  • Recursive listing of files
  • Reading file size & details
  • Modified time with datetime
02

Renaming & Organising

3 topics
  • Renaming & Moving
  • Renaming & replacing files
  • Moving & copying files
  • Creating folders
  • Handling name clashes
  • Sorting Files by Type
  • Extension-to-folder mapping
  • Dictionary of file categories
  • Grouping Downloads by type
  • Patterns & Folder Organiser
  • Wildcard patterns
  • Matching file names
  • Dry-run mode before moving
  • Folder organiser script steps
03

Bulk Operations

3 topics
  • Bulk Renaming
  • Looping over many files
  • Adding prefixes & numbering
  • Date-based file names
  • Previewing new names first
  • Deleting Duplicates
  • File hashing
  • Grouping files by hash
  • Comparing size before hash
  • Keeping one copy
  • Safe Deletion Practices
  • Dry run before delete
  • Moving files to the Recycle Bin
  • Logging every deleted file
  • Confirmation prompts
04

Zip Backups

3 topics
  • Creating Zip Backups
  • Working with zip files
  • Creating archives quickly
  • Timestamped backup names
  • Compression options
  • Backup Rotation
  • Keeping last N backups
  • Sorting backups by date
  • Deleting old archives
  • Restore & Backup Tool Practice
  • Listing zip contents
  • Extracting to a folder
  • Verifying a backup
  • Build a one-click backup tool

Web Scraping with Python

5 modules
05

How Web Pages Work

3 topics
  • Web Page Structure
  • Client, server & HTTP request
  • HTML, CSS & JavaScript roles
  • Static vs dynamic pages
  • HTML Basics for Scraping
  • Tags, attributes & nesting
  • Headings, links & lists
  • Table structure
  • Classes & ids
  • Developer Tools & Selectors
  • Inspect element in browser
  • Network tab & page source
  • CSS selectors basics
  • Copying a selector
06

Requests & BeautifulSoup

3 topics
  • Fetching with requests
  • Sending requests & reading status codes
  • Response text & content
  • Custom headers & User-Agent
  • Delays between requests
  • Parsing with BeautifulSoup
  • Installing parsing libraries
  • Finding one or many elements
  • Using CSS selectors
  • Reading text & attributes
  • Multi-Page Scraping
  • Spotting next-page links
  • Looping over page numbers
  • Stopping when pages run out
07

Extracting Data

3 topics
  • Text & Tables
  • Extracting clean text
  • Reading HTML table rows
  • Reading HTML tables quickly
  • Prices & Listings
  • Locating product cards
  • Pulling name, price & link
  • Handling missing elements
  • Cleaning & Storing Results
  • Cleaning text
  • Converting price strings to numbers
  • List of dictionaries for results
  • Removing duplicate rows
08

Saving Results

3 topics
  • CSV Output
  • Writing CSV rows
  • Writing header rows
  • UTF-8 encoding for Hindi text
  • Excel & JSON Output
  • Exporting to Excel
  • openpyxl workbook basics
  • Writing readable JSON
  • Public Page Data Collector
  • Pick an allowed public page
  • Scrape, clean & save results
  • Add date to output filename
  • Check output in Excel
09

Scraping Responsibly

3 topics
  • Rules Before You Scrape
  • Read the site's terms of use
  • Checking the site's crawler rules first
  • Prefer an official API
  • Only use pages you are allowed to
  • Robots.txt in Python
  • Parsing crawler rules in Python
  • Checking if a URL is allowed
  • Reading crawler rules
  • Polite Scraping Habits
  • Rate limits & delays
  • Identify your scraper
  • Cache pages already fetched
  • Avoid personal or private data

APIs & JSON Data

4 modules
10

What an API Is

3 topics
  • API Concepts
  • APIs as a waiter analogy
  • Client & server roles
  • Why APIs beat scraping
  • REST Basics
  • Resources & URLs
  • JSON as common format
  • Stateless requests
  • Endpoints, Methods & Codes
  • Base URL & endpoints
  • Request methods
  • Success, client-error & server-error status codes
  • Reading API documentation
11

Calling APIs

3 topics
  • Making Requests
  • GET & POST requests
  • Query parameters
  • Sending JSON data
  • Authentication
  • API keys in headers
  • Bearer tokens
  • Keys in query strings
  • Handling Response Errors
  • Raising errors on failed responses
  • Timeouts & connection errors
  • Rate-limit responses
  • Retrying after a failure
12

Working with JSON

3 topics
  • Reading & Writing JSON
  • Loading & dumping JSON
  • Reading JSON files
  • Python dict & list mapping
  • Reading JSON responses
  • Parsing Nested JSON
  • Keys inside keys
  • Looping over lists in JSON
  • Handling missing keys safely
  • Saving API Data
  • Writing JSON to disk
  • Flattening nested JSON
  • JSON to CSV conversion
  • JSON practice exercises
13

Public APIs

3 topics
  • Using Public APIs
  • Finding free public APIs
  • Reading API docs & limits
  • Testing in the browser first
  • Weather & Currency APIs
  • Weather API by city
  • Exchange rate API for INR
  • Picking fields from response
  • API-Based Checker Project
  • Fetch data on each run
  • Compare with a threshold
  • Print or save a result
  • Handle failures gracefully

Automating Emails & Notifications

4 modules
14

Sending Emails

3 topics
  • Email Basics in Python
  • How SMTP works
  • Secure email sending
  • Building an email message
  • Gmail Setup
  • SMTP host & port
  • Gmail app password
  • Logging in & sending
  • Formatting & Safe Testing
  • Subject, sender & recipients
  • Plain text body
  • Send test mails to yourself
  • Local debug SMTP server
15

Attachments & Templates

3 topics
  • Attachments
  • Adding attachments
  • Guessing MIME type
  • Attaching PDF & Excel files
  • Templates & Bulk Emails
  • Template placeholders
  • Reading recipients from CSV
  • Personalised name per email
  • Delay between bulk sends
  • HTML Emails & Reports
  • HTML email body
  • Inline CSS styling
  • Pandas table in an email
  • Emailing a daily report
16

Alerts & Notifications

3 topics
  • Alert Rules
  • Threshold conditions
  • Avoiding repeat alerts
  • Alert only on change
  • Chat Alerts
  • Telegram Bot API basics
  • Sending messages with requests
  • WhatsApp via official APIs
  • Desktop Notifications
  • Notification library
  • Pop-up messages from scripts
  • Sound or message on completion
17

Keeping Credentials Safe

3 topics
  • Why Secrets Need Care
  • Never hard-code passwords
  • Keeping secrets out of GitHub
  • Ignoring secret files in Git
  • Environment Variables
  • Reading environment variables
  • Setting variables on Windows
  • Storing secrets in a settings file
  • Config Files & App Passwords
  • Config files
  • JSON or YAML config
  • Gmail app password setup
  • Rotating leaked keys

Scheduling & Automation Scripts

4 modules
18

Running Scripts on a Schedule

3 topics
  • The schedule Library
  • Installing schedule
  • Daily jobs at fixed times
  • Interval-based jobs
  • The scheduler loop
  • Time-Based Triggers
  • datetime & time modules
  • Running at fixed times
  • Weekdays-only jobs
  • Long-Running Scripts
  • Looping with pauses
  • Stopping a running script
  • Keeping scripts alive
  • Avoiding memory build-up
19

Cron & Task Scheduler

3 topics
  • Cron on Linux & macOS
  • Editing the schedule table
  • Cron time fields
  • Full path to Python
  • Redirecting output to a log
  • Windows Task Scheduler
  • Creating a basic task
  • Triggers & actions
  • Run at startup or login
  • Practice & Troubleshooting
  • Schedule a daily backup job
  • Check job output logs
  • Fixing path & environment issues
20

Logging & Error Handling

3 topics
  • Handling Errors
  • try, except & finally
  • Catching specific exceptions
  • Raising your own errors
  • The logging Module
  • Log levels INFO to ERROR
  • Configuring log format
  • FileHandler for log files
  • Rotating log files
  • Retry Logic
  • Retry loop with attempts
  • Waiting between retries
  • Exponential backoff idea
  • Logging failed attempts
21

Reusable Scripts

3 topics
  • Functions & Modules
  • Splitting code into functions
  • Writing your own module
  • The main-guard for scripts
  • Command-Line Arguments
  • Command-line arguments basics
  • Command-line arguments & options
  • Built-in help text
  • Packaging Scripts
  • Project folder layout
  • Listing dependencies
  • Virtual environments
  • Building executables

Data Processing & Reports

4 modules
22

Reading CSV & Excel

3 topics
  • Reading CSV Files
  • Reading CSV files
  • Reading CSV into tables
  • Delimiters & encodings
  • Excel with openpyxl
  • Opening workbooks & sheets
  • Reading cell values
  • Writing cells & saving
  • Reading Excel into tables
  • Merging Multiple Files
  • Looping over a folder
  • Combining tables
  • Adding a source column
  • Comparing CSV, Excel & JSON
23

Cleaning with pandas

3 topics
  • DataFrame Basics
  • Previewing & summarising data
  • Selecting columns
  • Renaming columns
  • Missing Values & Duplicates
  • Finding & dropping missing values
  • Filling missing values
  • Finding & removing duplicates
  • Converting data types & dates
  • Filtering & Sorting
  • Boolean conditions
  • Filtering rows
  • Sorting values
  • Saving the cleaned file
24

Summary Reports

3 topics
  • Grouping & Totals
  • Grouping with totals & averages
  • Pivot tables
  • Monthly totals by date
  • Charts with Matplotlib
  • Line & bar charts
  • Titles, labels & legends
  • Saving charts as images
  • Automating Weekly Reports
  • Load, clean & summarise
  • Save chart & Excel summary
  • Schedule the weekly run
25

Exporting Results

3 topics
  • Excel Reports
  • Exporting multiple sheets
  • Adjusting column widths
  • Bold headers & number formats
  • PDF Reports
  • Generating PDFs
  • Adding tables & images
  • Reportlab as an alternative
  • Report Delivery
  • Attach report to email
  • Dated report file names
  • Send to a recipient list

Mini Project: Automation Tool

4 modules
26

Choosing a Task

3 topics
  • Finding a Real Task
  • List repetitive tasks you do
  • Pick one small, useful task
  • Check time saved per run
  • Requirements & Planning
  • Inputs, outputs & rules
  • Break into small steps
  • Write a one-page plan
  • Tool Selection
  • Which libraries are needed
  • CLI or simple GUI
  • Sample data to test with
27

Building the Tool

3 topics
  • Project Setup
  • Create folder & virtual environment
  • Starter files & README
  • Config file for settings
  • Core Features
  • Code one feature at a time
  • Functions for each step
  • Run & test after each step
  • Interface & Errors
  • Command-line options handling
  • Tkinter simple window
  • try-except around risky steps
  • Logging to a file
28

Testing & Improving

3 topics
  • Testing the Tool
  • Manual test checklist
  • Basic automated tests
  • Using sample & real data
  • Edge Cases
  • Empty & missing files
  • Wrong file types
  • No internet connection
  • Very large inputs
  • Performance & Documentation
  • Timing your code
  • Avoiding repeated work
  • README with usage examples
  • Docstrings & comments
29

Presenting

3 topics
  • Preparing the Demo
  • Short problem-to-solution story
  • Prepare sample data
  • Rehearse a 5-minute demo
  • Code Review
  • Peer review of code
  • Readability & naming
  • Checking for exposed secrets
  • Feedback & Next Steps
  • Note feedback and fix it
  • Ideas to extend the tool
  • Portfolio & GitHub upload
  • Where to learn next

AI in Automation

1 module
30

Adding AI to Automation Scripts

4 topics
  • AI for Writing Scripts
  • Drafting scripts with AI
  • Describing the task clearly
  • Reviewing & testing AI code
  • Why you still need to understand it
  • Calling an AI API
  • API key & official SDK
  • Sending a prompt with requests
  • Reading the text response
  • Costs, limits & failures
  • Summarising Text & Reports
  • Summarising emails & articles
  • Summarising report data
  • Checking output for mistakes
  • Keeping Keys & Data Safe
  • API keys in env variables
  • Avoid sending private data
  • Human review before sending

Practice Projects

Project 1Folder organiser
Project 2Daily report email sender
Project 3Public web page data collector
Project 4API-based currency or weather checker
Project 5Bulk file renamer and zip backup tool
Project 6Excel report generator

Tools & Technologies

Python 3.x VS Code Requests BeautifulSoup pandas Git & GitHub

Career Opportunities

Trainee Automation Engineer

Automate business and IT tasks with Python scripts.

Python Developer (Entry Level)

Build scripts, tools and small applications.

Data & Reporting Executive

Automate data cleaning and report creation.

Security Scripting

Write tools to collect and process data for security tasks.

Course Details

Duration3 Months (individual course)
ModeOffline (Delhi Centre) / Online Classes Available
Batch TimingMorning & Evening Batches (Mon–Sat)
EligibilityBasic computer knowledge required. Basic Python knowledge is helpful. New learners can take our Python Programming course first.
CertificateCompletion Certificate from White Fortress Academy provided on passing
SupportLive project assignments + Code review sessions + Placement guidance

Explore More Programming Courses

Want to practise first? Try our free Python practice lab. No signup needed.

Frequently Asked Questions

How long is the Python for Automation course in Delhi?

The Python for Automation course takes 3 months. Batches run in the morning and evening, Monday to Saturday.

Do I need to know Python before this course?

Basic Python knowledge is helpful. If you are new to Python, take our Python Programming course first and then join this one.

Is web scraping allowed?

Collecting public information is common, but websites have terms of use and robots.txt rules. We teach scraping responsibly and only on pages you are allowed to use.

Do I need any prior knowledge to join?

Basic computer knowledge required. Basic Python knowledge is helpful. New learners can take our Python Programming course first.

Is the Python for Automation course offline or online, and what are the batch timings?

Mode: Offline (Delhi Centre) / Online Classes Available. Batch timing: Morning & Evening Batches (Mon–Sat).

Will I get a certificate after the Python for Automation course?

Yes. White Fortress Academy provides a completion certificate on passing the course.

Which tools will I use in the Python for Automation course?

You will work with Python 3.x, VS Code, Requests, BeautifulSoup, pandas, Git & GitHub.

What jobs can I aim for after the Python for Automation course?

Roles related to this skill include Trainee Automation Engineer, Python Developer (Entry Level), Data & Reporting Executive and Security Scripting. Hiring depends on your skills and the market. The academy's support includes live project assignments, code review sessions and placement guidance.

What is the fee for the Python for Automation course, and can I try a demo class?

The fee is not listed on this page, so please ask the centre for the current fee and the next batch date. Call or WhatsApp +91 88104 71374, or visit 53, Maujpur Main Road, Opp. HDFC Bank, Delhi 110053 (Monday to Saturday, 9:00 AM to 8:00 PM). A free demo class is available.

Start Learning Python for Automation Today!

Join a hands-on batch at our Maujpur, Delhi centre and learn by writing real code.

Enroll Now Ask on WhatsApp