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
W3Schools.com
Maharashtra tops FDI in 2022-23, leads the first quarter of 2023-24 
Scheelzien, volwassenen - Alrijne Ziekenhuis
Gamevault Agent
Monthly Forecast Accuweather
Lantana Blocc Compton Crips
Full Range 10 Bar Selection Box
D10 Wrestling Facebook
Youravon Comcom
Sam's Club La Habra Gas Prices
Saritaprivate
Hannaford To-Go: Grocery Curbside Pickup
27 Paul Rudd Memes to Get You Through the Week
SN100C, An Australia Trademark of Nihon Superior Co., Ltd.. Application Number: 2480607 :: Trademark Elite Trademarks
Del Amo Fashion Center Map
Devotion Showtimes Near Regency Buenaventura 6
800-695-2780
Afni Collections
Motorcycle Blue Book Value Honda
Wolfwalkers 123Movies
Pokemon Inflamed Red Cheats
Mami No 1 Ott
Criglist Miami
Amazing Lash Bay Colony
Rush County Busted Newspaper
Learn4Good Job Posting
Rlcraft Toolbelt
Emiri's Adventures
Dreamcargiveaways
Graphic Look Inside Jeffrey Dresser
2015 Chevrolet Silverado 1500 for sale - Houston, TX - craigslist
Samsung 9C8
Andhra Jyothi Telugu News Paper
Elgin Il Building Department
USB C 3HDMI Dock UCN3278 (12 in 1)
Trizzle Aarp
Telugu Moviez Wap Org
Express Employment Sign In
11526 Lake Ave Cleveland Oh 44102
Best Restaurants West Bend
Who Is Responsible for Writing Obituaries After Death? | Pottstown Funeral Home & Crematory
Mychart Mercy Health Paducah
'The Night Agent' Star Luciane Buchanan's Dating Life Is a Mystery
Timothy Warren Cobb Obituary
Makes A Successful Catch Maybe Crossword Clue
La Qua Brothers Funeral Home
Wpne Tv Schedule
The Machine 2023 Showtimes Near Roxy Lebanon
Barback Salary in 2024: Comprehensive Guide | OysterLink
Gear Bicycle Sales Butler Pa
Wera13X
Grandma's Portuguese Sweet Bread Recipe Made from Scratch
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.