PY 180BeginnerProgramming
Automation and Scripting
Let Python do the dull work: files, spreadsheets, the web, email and schedules.
51 lessons, not started
What you will learn
- Rename, sort and process files in bulk
- Scrape web pages and fill in documents
- Send email and run jobs on a schedule
Syllabus
51 lessons in 6 sections. Take them in order, or open any lesson directly.
- Python Automation and Scripting
- Safety Warning (Dry Runs and Backups)
Phase 1: OS & File System Automation10 lessons
- The Power of Scripting - Why Automate?
- The os Module - Navigating Directories
- The shutil Module - Copying, Moving, and Deleting
- Pattern Matching with glob
- Managing Paths with pathlib
- Automating File Backups
- Batch Renaming Files Script
- Searching Files by Content/Extension
- Monitoring File System Changes (Watchdog)
- Compressing Files (Zip and Tar archives)
Phase 2: Office & Productivity Automation8 lessons
Phase 3: Web Automation & Scraping11 lessons
- Introduction to Web Scraping Ethics & robots.txt
- HTTP Requests with the requests Library
- Parsing HTML with BeautifulSoup
- CSS Selectors vs XPath
- Downloading Images and Media in Bulk
- Introduction to Selenium WebDriver
- Handling Web Forms and Buttons
- Wait Times - Implicit vs Explicit Waits
- Scraping Dynamic JavaScript Websites
- Automating Browser Tasks (Headless Mode)
- Building a Price Tracker Bot
Phase 6: Task Scheduling & Deployment7 lessons