This post contains affiliate links. As an Amazon Associate, TechAthletes earns from qualifying purchases. Prices, discounts and availability change — check the official site for current terms.
- The short answer: read the 3rd edition, and read it for free
- What No Starch says about the 3rd edition
- What the two pages say about the older editions
- The 3rd edition, chapter by chapter
- The companion workbook and the video course
- Which edition for which reader
- What these pages do not tell you
- Related posts
The short answer: read the 3rd edition, and read it for free
The current 3rd edition of Automate the Boring Stuff with Python can be read online at no cost. The author's site at https://automatetheboringstuff.com/ (retrieved 2026-10-15) states it in one line under the title:
By Al Sweigart. Over 500,000 copies sold. Free to read under a Creative Commons license.
The same page lists the 3rd edition's table of contents, and under it adds a single sentence about the older editions: "(The 1st edition and 2nd edition are still available.)" That is the extent of what the author's main page says about the 2nd edition. It does not argue for one edition over another; it presents the 3rd as the book and notes that the older ones still exist.
So the decision is not "which one should I buy." It is "is there any reason to stay on the 2nd edition when the 3rd is current and free to read." For most readers starting now, there is not. The rest of this article shows what the author's page and the publisher's page actually say about each edition, so you can check that conclusion against the pages yourself.
What No Starch says about the 3rd edition
No Starch Press's page at https://nostarch.com/automate-boring-stuff-python-3rd-edition (retrieved 2026-10-15) lists the edition as "by Al Sweigart April 2025, 672 pp. ISBN-13: 9781718503403." The subtitle on that page is "Practical Programming for Total Beginners." The page footer repeats the bundle rule: "FREE ebook edition with every print book purchased from nostarch.com!"
The publisher's description says you will "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," and that early chapters cover Python fundamentals before you "work with strings, lists, dictionaries, and other data structures; then use regular expressions to find and manipulate text patterns." It then lists the kinds of projects the book covers: searching the web and filling out forms, working with text and data in files and spreadsheets, copying and renaming and compressing files, splitting and merging PDFs and Word documents, mouse and keyboard macros, and managing email and sending notifications. The author's own page carries the same description word for word.
The publisher's page is also the one that spells out what changed between editions. Quoting it verbatim:
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.
The No Starch table of contents lists a Foreword, Acknowledgments, and Introduction, then splits the book into "Part I: Programming Fundamentals" (Chapters 1 through 8) and "Part II: Automating Tasks" (Chapters 9 through 24), followed by two appendices and an Index. The page offers a sample download of Chapter 9, "Text Pattern Matching with Regular Expressions," plus links to the detailed table of contents, the index, the copyright page, and the latest errata.
What the two pages say about the older editions
Neither page gives the 2nd edition a description of its own. What they do say is this:
- The author's page: "(The 1st edition and 2nd edition are still available.)"
- The author's page, on the video course: "This video course follows much (though not all) of the content of the 1st edition of the book."
- The No Starch page, in its "Extra Stuff" section: "Download the files used in the 2nd Edition of this book" and "Download the files used in the 1st Edition of this book," alongside the 3rd edition files, and a separate "Additional Online Resources from 1st Edition" link.
- The No Starch page, above its quotes: the reviews section is labeled "Reviews from the 2nd edition."
That last point matters if you are reading the reviews to decide. The quotes from The Startup, Hilary Mason, Wil Wheaton, Network World, Mashable, InfoWorld, Hacker Noon, and others describe the previous edition, not the one on sale. The author's page reuses five of those quotes without the "2nd edition" label; the publisher's page is the one that dates them.
The 3rd edition, chapter by chapter
The list below is identical on the author's page and the No Starch page. The Part headings appear only on the No Starch page.
| Part | Chapters |
|---|---|
| Part I: Programming Fundamentals | 1 Python Basics; 2 if-else and Flow Control; 3 Loops; 4 Functions; 5 Debugging; 6 Lists; 7 Dictionaries and Structuring Data; 8 Strings and Text Editing |
| Part II: Automating Tasks | 9 Text Pattern Matching with Regular Expressions; 10 Reading and Writing Files; 11 Organizing Files; 12 Designing and Deploying Command Line Programs; 13 Web Scraping; 14 Excel Spreadsheets; 15 Google Sheets; 16 SQLite Databases; 17 PDF and Word Documents; 18 CSV, JSON, and XML Files; 19 Keeping Time, Scheduling Tasks, and Launching Programs; 20 Sending Email, Texts, and Push Notifications; 21 Making Graphs and Manipulating Images; 22 Recognizing Text in Images; 23 Controlling the Keyboard and Mouse; 24 Text-to-Speech and Speech Recognition Engines |
| Appendices | A Installing Third-Party Packages; B Answers to the Practice Questions |
A few things stand out from the list alone. Debugging is Chapter 5, so it arrives before lists and dictionaries rather than after file handling. Loops get a chapter of their own, separate from flow control. And the chapter titles line up with the publisher's "four new chapters" statement in two of its three named areas: "SQLite Databases" matches "database integration," and "Text-to-Speech and Speech Recognition Engines" matches "speech recognition." The third area the publisher names, "audio and video editing," has no chapter title using those words; the nearest titles are "Making Graphs and Manipulating Images" and "Recognizing Text in Images." The publisher's note about "expanded coverage of developer techniques like creating command line programs" matches Chapter 12, "Designing and Deploying Command Line Programs."
The companion workbook and the video course
The author's page lists a second book: Automate the Boring Stuff with Python – Workbook, which it calls "A companion to Automate the Boring Stuff with Python, Third Edition." The page says the workbook "transforms Al Sweigart's best-selling guide from a reading experience into a coding experience," follows the main book "chapter by chapter," and ends each chapter with "miniprojects that bring everything together." It lists the kinds of scripts you build: "renaming files, scraping websites, converting text to speech, modifying spreadsheets, or sending emails," plus "image generators and word games." The workbook has its own "Read Online for Free" link and a "Buy from Publisher (Free ebook!)" link. The No Starch page describes the same workbook as having "hundreds of additional exercises."
The video course is a different story. The author's page says it "follows much (though not all) of the content of the 1st edition of the book," offers a link that applies "a 70% discount code," and says "You can preview the first 15 course videos for free on YouTube." So the course tracks the oldest edition, not the current one. If you want material that matches the 3rd edition's chapter order, the workbook is the companion the author's page names; the course is not.
Which edition for which reader
You are starting from zero today. Read the 3rd edition. It is the edition the author's site presents, the site says it is free to read under a Creative Commons license, and it is the one No Starch sells. If you want paper, the No Starch page states that a print purchase from nostarch.com includes the ebook edition. The author's page lists Amazon, Barnes and Noble, Powell's, Bookshop.org, Kobo, and Thriftbooks as other places to buy it.
You already own the 2nd edition in print. Nothing on either page says the 2nd edition stopped working, and the author's page says it is "still available." Its example files are still downloadable from the No Starch page. The question is whether the four new chapters, the 16 new projects, and the revised code matter to you. The publisher names databases, speech recognition, and audio and video editing as the new areas, and the author's site says you can read the 3rd edition online without buying anything. You can check the new chapters there before deciding whether a new print copy is worth it.
You want the errata or a sample before deciding. The No Starch page links the latest errata and offers Chapter 9 as a free download. That chapter sits at the start of Part II, so it shows the "automating tasks" half of the book rather than the fundamentals.
You learn better from video. The course on the author's page follows the 1st edition, with the first 15 videos free on YouTube. Expect its order and content to differ from the 3rd edition's table of contents, since the page itself says it covers "much (though not all)" of the 1st edition.
You specifically want a printed copy. A search for Automate the Boring Stuff with Python by Al Sweigart will turn up listings for more than one edition. Check the edition number before buying; the publisher's page gives the 3rd edition's ISBN as 9781718503403.
What these pages do not tell you
- The 2nd edition's table of contents, page count, or publication date. The author's main page says only that the 2nd edition is "still available," and the publisher's page gives figures for the 3rd edition alone.
- Whether the 2nd edition's chapters are still readable online. The "still available" line does not say where or in what form.
- The exact terms of the Creative Commons license. The author's page names the license family and nothing more.
- Where "audio and video editing" lives. No Starch's "New to this edition" line names it among the four new chapters, but no chapter title in the 3rd edition's list uses those words.
- What the "16 new programming projects" are. The publisher gives the count, not the list.
- Whether any of the quoted reviews apply to the 3rd edition. The No Starch page labels them "Reviews from the 2nd edition," and the author's page reuses several of the same quotes without a date.
- How much of the 1st edition the video course skips. The author's page says "much (though not all)" and does not list the gaps.

Comments