Automate the Boring Stuff with Python Programming

A practical programming course for office workers, academics, and administrators who want to improve their productivity.
Automate the Boring Stuff with Python Programming
File Size :
10.57 GB
Total length :
9h 31m



Al Sweigart


Last update

Last updated 4/2021



Automate the Boring Stuff with Python Programming

What you’ll learn

Automate tasks on their computer by writing simple Python programs.
Write programs that can do text pattern recognition with “regular expressions”.
Programmatically generate and update Excel spreadsheets.
Parse PDFs and Word documents.
Crawl web sites and pull information from online sources.
Write programs that send out email notifications.
Use Python’s debugging tools to quickly figure out bugs in your code.
Programmatically control the mouse and keyboard to click and type for you.

Automate the Boring Stuff with Python Programming


No programming experience is required.
Downloading and installing Python is covered at the start of the course.
Basic computer skills: surfing websites, running programs, saving and opening documents, etc.


If you’re an office worker, student, administrator, or just want to become more productive with your computer, programming will allow you write code that can automate tedious tasks. This course follows the popular (and free!) book, Automate the Boring Stuff with Python.Automate the Boring Stuff with Python was written for people who want to get up to speed writing small programs that do practical tasks as soon as possible. You don’t need to know sorting algorithms or object-oriented programming, so this course skips all the computer science and concentrates on writing code that gets stuff done.This course is for complete beginners and covers the popular Python programming language. You’ll learn basic concepts as well as:Web scrapingParsing PDFs and Excel spreadsheetsAutomating the keyboard and mouseSending emails and textsAnd several other practical topics By the end of this course, you’ll be able to write code that not only dramatically increases your productivity, but also be able to list this fun and creative skill on your resume.


Section 1: Python Basics

Lecture 1 Get Python Installed

Lecture 2 Basic Terminology and Using IDLE

Lecture 3 Writing Our First Program

Section 2: Flow Control

Lecture 4 Flow Charts and Basic Flow Control Concepts

Lecture 5 If, Else, and Elif Statements

Lecture 6 While Loops

Lecture 7 For Loops

Section 3: Functions

Lecture 8 Python’s Built-In Functions

Lecture 9 Writing Your Own Functions

Lecture 10 Global and Local Scopes

Section 4: Handling Errors with try/except

Lecture 11 Try and Except Statements

Section 5: Writing a Complete Program: Guess the Number

Lecture 12 Writing a “Guess the Number” Program

Section 6: Lists

Lecture 13 The List Data Type

Lecture 14 For Loops with Lists, Multiple Assignment, and Augmented Operators

Lecture 15 List Methods

Lecture 16 Similarities Between Lists and Strings

Section 7: Dictionaries

Lecture 17 The Dictionary Data Type

Lecture 18 Data Structures

Section 8: More About Strings

Lecture 19 Advanced String Syntax

Lecture 20 String Methods

Lecture 21 String Formatting

Section 9: Running Programs from the Command Line

Lecture 22 Launching Python Programs from Outside IDLE

Section 10: Regular Expressions

Lecture 23 Regular Expression Basics

Lecture 24 Regex Groups and the Pipe Character

Lecture 25 Repetition in Regex Patterns and Greedy/Nongreedy Matching

Lecture 26 Regex Character Classes and the findall() Method

Lecture 27 Regex Dot-Star and the Caret/Dollar Characters

Lecture 28 Regex sub() Method and Verbose Mode

Lecture 29 Regex Example Program: A Phone and Email Scraper

Section 11: Files

Lecture 30 Filenames and Absolute/Relative File Paths

Lecture 31 Reading and Writing Plaintext Files

Lecture 32 Copying and Moving Files and Folders

Lecture 33 Deleting Files

Lecture 34 Walking a Directory Tree

Section 12: Debugging

Lecture 35 The raise and assert Statements

Lecture 36 Logging

Lecture 37 Using the Debugger

Section 13: Web Scraping

Lecture 38 The webbrowser Module

Lecture 39 Downloading from the Web with the Requests Module

Lecture 40 Parsing HTML with the Beautiful Soup Module

Lecture 41 Controlling the Browser with the Selenium Module

Section 14: Excel, Word, and PDF Documents

Lecture 42 Reading Excel Spreadsheets

Lecture 43 Editing Excel Spreadsheets

Lecture 44 Reading and Editing PDFs

Lecture 45 Reading and Editing Word Documents

Section 15: Email

Lecture 46 Sending Emails

Lecture 47 Checking Your Email Inbox

Section 16: GUI Automation

Lecture 48 Controlling the Mouse from Python

Lecture 49 Controlling the Keyboard from Python

Lecture 50 Screenshots and Image Recognition

Lecture 51 Congratulations! (And next steps…)

Office workers, students, small/home business workers, and administrators would want to improve their productivity.,Aspiring software engineers who want to add skills to their programming toolbelt.,Computer users who have heard the “learn to code” message, but want practical reasons to learn programming.,Experienced Python software engineers can skip the first half of the course, but may find the later parts that cover various third-party modules helpful.,While this course doesn’t cover specific devops tools, this course would be useful for QA, devops, and admins who want to learn scripting in Python.

Course Information:

Udemy | English | 9h 31m | 10.57 GB
Created by: Al Sweigart

You Can See More Courses in the Developer >> Greetings from

New Courses

Scroll to Top