Automate the Boring Stuff with Python Programming
All LevelsDevelopmentPython

Automate the Boring Stuff with Python Programming

A practical programming course for office workers, academics, and administrators who want to improve their productivity.

Created by Al Sweigart
9.5 hours
Video Content
51
Lectures
1,147,745
Students
4.6
Rating
4.6
(1,147,745 students enrolled)

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.

Course Content

16 sections • 51 lectures • 09:30:58 total length

Python Basics

3 lectures • 26:32

Get Python Installed05:39
Just a check in.2 questions
Basic Terminology and Using IDLE10:51
Writing Our First Program10:02
Lecture 2 Quiz7 questions

Flow Control

4 lectures • 35:09

Flow Charts and Basic Flow Control Concepts07:36
If, Else, and Elif Statements10:48
While Loops09:37
For Loops07:08

Functions

3 lectures • 30:33

Python's Built-In Functions06:19
Writing Your Own Functions12:20
Global and Local Scopes11:54

Handling Errors with try/except

1 lectures • 07:27

Try and Except Statements07:27

Writing a Complete Program: Guess the Number

1 lectures • 12:09

Writing a "Guess the Number" Program12:09

Lists

4 lectures • 49:29

The List Data Type13:07
For Loops with Lists, Multiple Assignment, and Augmented Operators09:12
List Methods11:06
Similarities Between Lists and Strings16:04

Dictionaries

2 lectures • 30:03

The Dictionary Data Type19:22
Data Structures10:41

More About Strings

3 lectures • 30:30

Advanced String Syntax08:38
String Methods18:39
String Formatting03:13

Running Programs from the Command Line

1 lectures • 14:03

Launching Python Programs from Outside IDLE14:03

Regular Expressions

7 lectures • 01:41:02

Regular Expression Basics13:10
Regex Groups and the Pipe Character06:54
Repetition in Regex Patterns and Greedy/Nongreedy Matching16:24
Regex Character Classes and the findall() Method14:42
Regex Dot-Star and the Caret/Dollar Characters17:03
+2 more lectures

Files

5 lectures • 53:40

Filenames and Absolute/Relative File Paths19:33
Reading and Writing Plaintext Files13:27
Copying and Moving Files and Folders04:40
Deleting Files07:15
Walking a Directory Tree08:45

Debugging

3 lectures • 41:26

The raise and assert Statements17:12
Logging09:52
Using the Debugger14:22

Web Scraping

4 lectures • 41:36

The webbrowser Module11:00
Downloading from the Web with the Requests Module06:46
Parsing HTML with the Beautiful Soup Module13:24
Controlling the Browser with the Selenium Module10:26

Excel, Word, and PDF Documents

4 lectures • 42:39

Reading Excel Spreadsheets08:36
Editing Excel Spreadsheets06:27
Reading and Editing PDFs13:35
Reading and Editing Word Documents14:01

Email

2 lectures • 24:56

Sending Emails09:27
Checking Your Email Inbox15:29

GUI Automation

4 lectures • 29:45

Controlling the Mouse from Python14:22
Controlling the Keyboard from Python05:51
Screenshots and Image Recognition08:18
Congratulations! (And next steps...)01:14

Description

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 scraping
  • Parsing PDFs and Excel spreadsheets
  • Automating the keyboard and mouse
  • Sending emails and texts
  • And 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.

Who this course is for:

  • 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.

This course includes:

  • 9.5 hours on-demand video
  • 0
  • 95 downloadable resources
  • Access on mobile and TV
  • Full lifetime access
  • Certificate of completion

Instructor

Al Sweigart

Students also download

Explore related courses to expand your learning journey.