Get 3 months of Audible free - Get this deal
$56.99 with 12 percent savings
Digital List Price: $64.99

These promotions will be applied to this item:

You have subscribed to ! We will pre-order your items within 24 hours of when they become available. When new books are released, we’ll charge your default payment method for the lowest price available during the pre-order period.
Update your device or payment method, cancel individual pre-orders or your subscription at
Your Memberships & Subscriptions
Kindle app logo image

Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet or computer – no Kindle device required.

Read instantly on your browser with Kindle for Web.

Using your mobile phone camera, scan the code below and download the Kindle app.

QR code to download the Kindle app

  • Automate the Boring Stuff with Python, 3rd Edition
  • To view this video, download

Follow the author

Something went wrong. Please try your request again later.

Automate the Boring Stuff with Python, 3rd Edition Kindle Edition

4.4 out of 5 stars 10 ratings

' + '' + decodeURIComponent(encodedIframeContent) + ''+''); doc.close(); } } this.iframeload = function () { var iframe = document.getElementById(iframeId); iframe.style.display = ''; setTimeout(function () { setIframeHeight(initialResizeCallback); }, 20); } function getDocHeight(doc) { var contentDiv = doc.getElementById("iframeContent"); var docHeight = 0; if(contentDiv){ docHeight = Math.max( contentDiv.scrollHeight, contentDiv.offsetHeight, contentDiv.clientHeight ); } return docHeight; } function setIframeHeight(resizeCallback) { var iframeDoc, iframe = document.getElementById(iframeId); iframeDoc = ((iframe.contentWindow && iframe.contentWindow.document) || iframe.contentDocument); if (iframeDoc) { var h = getDocHeight(iframeDoc); if (h && h != 0) { iframe.style.height = parseInt(h) + 'px'; if(typeof resizeCallback == "function") { resizeCallback(iframeId); } } else if (nTries < MAX_TRIES) { nTries++; setTimeout(function () { setIframeHeight(resizeCallback); }, 50); } } } this.resizeIframe = function(resizeCallback) { nTries = 0; setIframeHeight(resizeCallback); } } return DynamicIframe; });
The bestselling introduction to Python programming, revised to include the latest Python features, improved explanations, and new chapters about databases and sound files.

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 this work for you?

In this fully revised third edition of
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. Early chapters will teach you the fundamentals of Python through clear explanations and engaging examples. You’ll write your first Python program; work with strings, lists, dictionaries, and other data structures; then use regular expressions to find and manipulate text patterns. 

Once you’ve mastered the basics, you’ll tackle projects that teach you to use Python to automate tasks like:

  • Searching the web, downloading content, and filling out forms
  • Finding, extracting, and manipulating text and data in files and spreadsheets
  • Copying, moving, renaming, or compressing saved files on your computerSplitting, merging, and extracting text from PDFs and Word documents
  • Interacting with applications through custom mouse and keyboard macros
  • Managing your inbox, unsubscribing from lists, and sending email or text notifications

New to this edition: All code and examples have been thoroughly updated. You’ll also find four new chapters on database integration, speech recognition, and audio and video editing, as well as 16 new programming projects and expanded coverage of developer techniques like creating command line programs.

Don’t spend your time on work a well-trained monkey could do. Even if you’ve never written a line of code, you can pass off that grunt work to your computer. Learn how in
Automate the Boring Stuff with Python.
Due to its large file size, this book may take longer to download

Product description

Review

Praise for the second edition of Automate the Boring Stuff with Python:

"With lessons on how to use Python to program Excel spreadsheets, crawl websites, parse PDFs and Word documents, send emails, and other productivity-boosting task automation, it's a stellar resource for office workers, academics, and administrators."
ⲹ󲹲

"I think many educational resources jump levels way too quickly. One of the best I ever used was Automate the Boring Stuff with Python - that book stayed at the right level the whole way!"
—Oscar Baruffa, @OscarBaruffa

About the Author

Al Sweigart is a software developer, fellow of the Python Software Foundation, and author of several popular programming books including The Big Book of Small Python Projects, Beyond the Basic Stuff with Python, Coding with Minecraft, and The Recursive Book of Recursion (all from No Starch Press).

Product details

  • ASIN ‏ : ‎ B0CG8BSP2R
  • Publisher ‏ : ‎ No Starch Press
  • Accessibility ‏ : ‎ Learn more
  • Publication date ‏ : ‎ May 20 2025
  • Language ‏ : ‎ English
  • File size ‏ : ‎ 32.3 MB
  • Enhanced typesetting ‏ : ‎ Enabled
  • X-Ray ‏ : ‎ Not Enabled
  • Word Wise ‏ : ‎ Not Enabled
  • Print length ‏ : ‎ 640 pages
  • ISBN-13 ‏ : ‎ 978-1718503410
  • Page Flip ‏ : ‎ Enabled
  • 鶹 Rank: #365,833 in Kindle Store (See Top 100 in Kindle Store)
  • Customer Reviews:
    4.4 out of 5 stars 10 ratings

About the author

Follow authors to get new release updates, plus improved recommendations.
Al Sweigart
Brief content visible, double tap to read full content.
Full content visible, double tap to read brief content.

Al Sweigart is a software developer and tech book author living in Houston. He has written several programming books for beginners, including Automate the Boring Stuff with Python. His books are freely available under a Creative Commons license at his website https://inventwithpython.com.

Customer reviews

4.4 out of 5 stars
10 global ratings

Review this product

Share your thoughts with other customers

Top reviews from Canada

There are 0 reviews and 0 ratings from Canada

Top reviews from other countries

Translate all reviews to English
  • 鶹 Kunde
    3.0 out of 5 stars Nur für den Einstieg
    Reviewed in Germany on June 27, 2025
    Verified Purchase
    Das Buch ist sehr sympathisch geschrieben. Der erste Teil (Grundlagen) macht ein Drittel aus und ist eine tolle Einführung mit Übungsfragen am Ende jedes Kapitel.
    Leider gleitet der Rest des Buches sehr in wortreiche Betrachtungen einzelner Themen ab, die kaum noch Nutzwert haben.
    Somit baut sich kein nachhaltiges Lernniveau auf. Man hat fast den Eindruck, in der zweiten Hälfte würde der Autor Seiten schinden.
    Report
  • Chad
    5.0 out of 5 stars Great book
    Reviewed in the United States on July 11, 2025
    Verified Purchase
    Just learning Python in 2025 and picked this up to give me some early projects

Report an issue


Does this item contain inappropriate content?
Do you believe that this item violates a copyright?
Does this item contain quality or formatting issues?