Automate the Boring Stuff with Python (2024)

By Al Sweigart. Over 500,000 copies sold. Free to read under a CC license.

Automate the Boring Stuff with Python (1)

"The best part of programming is the triumph of seeing the machine do something useful. Automate the Boring Stuff with Python frames all of programming as these small triumphs; it makes the boring fun."
- Hilary Mason, Data Scientist and Founder of Fast Forward Labs

"I'm having a lot of fun breaking things and then putting them back together, and just remembering the joy of turning a set of instructions into something useful and fun, like I did when I was a kid."
- Wil Wheaton, WilWheaton.net

Practical Programming for Total Beginners

If you've ever spent hours renaming files or updating hundreds of spreadsheet cells, you know how tedious tasks like these can be. But what if you could have your computer do them for you?

In Automate the Boring Stuff with Python, you'll learn how to use Python to write programs that do in minutes what would take you hours to do by hand - no prior programming experience required. Once you've mastered the basics of programming, you'll create Python programs that effortlessly perform useful and impressive feats of automation to:

  • Search for text in a file or across multiple files
  • Create, update, move, and rename files and folders
  • Search the Web and download online content
  • Update and format data in Excel spreadsheets of any size
  • Split, merge, watermark, and encrypt PDFs
  • Send reminder emails and text notifications
  • Fill out online forms

Step-by-step instructions walk you through each program, and practice projects at the end of each chapter challenge you to improve those programs and use your newfound skills to automate similar tasks.

Don't spend your time doing work a well-trained monkey could do. Even if you've never written a line of code, you can make your computer do the grunt work. Learn how in Automate the Boring Stuff with Python.

New Book: "The Big Book of Small Python Projects"

Automate the Boring Stuff with Python (2)

You've read a beginner resource like Automate the Boring Stuff with Python or Python Crash Course, but still feel stuck when you sit down to write your own programs? The Big Book of Small Python Projects has 81 games, puzzles, art, simulations, and other programs designed to be simple enough for beginners to read through their code and get inspiration.

Online Video Course on Udemy

Automate the Boring Stuff with Python (3)

This video course follows much (though not all) of the content of the book. Use this link to apply a 60% discount code. Or preview the first 15 course videos for free on YouTube.

Table of Contents

(Link to the older 1st edition.)

Additional Content

About the Author

Al Sweigart is a software developer and teaches programming to kids and adults. He has written several books for beginners and makes them freely available at InventWithPython.com. His personal website is AlSweigart.com.

Email | Mastodon | Twitter | Twitch | YouTube | GitHub | Blog | Patreon | Amazon Author | LinkedIn

Automate the Boring Stuff with Python (2024)
Top Articles
Largest tech companies by market cap
What's New in TLS 1.3: Faster, Reliable and More Secure
NYT Mini Crossword today: puzzle answers for Tuesday, September 17 | Digital Trends
Craigslist Vans
Ingles Weekly Ad Lilburn Ga
Insidious 5 Showtimes Near Cinemark Tinseltown 290 And Xd
Khatrimaza Movies
Does Pappadeaux Pay Weekly
Prices Way Too High Crossword Clue
Hallelu-JaH - Psalm 119 - inleiding
Detroit Lions 50 50
10 Great Things You Might Know Troy McClure From | Topless Robot
123Moviescloud
Gfs Rivergate
Everything You Need to Know About Holly by Stephen King
Robert Malone é o inventor da vacina mRNA e está certo sobre vacinação de crianças #boato
Sarpian Cat
10 Free Employee Handbook Templates in Word & ClickUp
Crossword Nexus Solver
Nba Rotogrinders Starting Lineups
Edicts Of The Prime Designate
Schedule 360 Albertsons
V-Pay: Sicherheit, Kosten und Alternativen - BankingGeek
Puss In Boots: The Last Wish Showtimes Near Cinépolis Vista
Melendez Imports Menu
Everything To Know About N Scale Model Trains - My Hobby Models
Bay Area Craigslist Cars For Sale By Owner
Divide Fusion Stretch Hoodie Daunenjacke für Herren | oliv
12657 Uline Way Kenosha Wi
3 Ways to Format a Computer - wikiHow
Elanco Rebates.com 2022
+18886727547
Craigs List Tallahassee
Broken Gphone X Tarkov
Devargasfuneral
Mkvcinemas Movies Free Download
Powerball lottery winning numbers for Saturday, September 7. $112 million jackpot
2024 Ford Bronco Sport for sale - McDonough, GA - craigslist
Umiami Sorority Rankings
Red Dead Redemption 2 Legendary Fish Locations Guide (“A Fisher of Fish”)
Directions To Cvs Pharmacy
Thor Majestic 23A Floor Plan
Kb Home The Overlook At Medio Creek
Exploring the Digital Marketplace: A Guide to Craigslist Miami
Does Target Have Slime Lickers
Unblocked Games - Gun Mayhem
Greg Steube Height
Paperlessemployee/Dollartree
Plumfund Reviews
Phumikhmer 2022
Bob Wright Yukon Accident
Códigos SWIFT/BIC para bancos de USA
Latest Posts
Article information

Author: Jamar Nader

Last Updated:

Views: 5744

Rating: 4.4 / 5 (75 voted)

Reviews: 90% of readers found this page helpful

Author information

Name: Jamar Nader

Birthday: 1995-02-28

Address: Apt. 536 6162 Reichel Greens, Port Zackaryside, CT 22682-9804

Phone: +9958384818317

Job: IT Representative

Hobby: Scrapbooking, Hiking, Hunting, Kite flying, Blacksmithing, Video gaming, Foraging

Introduction: My name is Jamar Nader, I am a fine, shiny, colorful, bright, nice, perfect, curious person who loves writing and wants to share my knowledge and understanding with you.