Reading & Desk Comparisons · Reviewed November 7, 2026
Python Crash Course vs Automate the Boring Stuff (3rd Ed.)
What would you like to show someone after a month of practice: a game they can play, or a folder of reports you no longer have to sort by hand? For the game, start with Eric Matthes’s Python Crash Course. For the reports, start with Al Sweigart’s Automate the Boring Stuff with Python. Both third editions teach beginners. The difference is what you get to do with the basics, not which book has more pages.
Best for
A first-time programmer choosing one English-language print book and a concrete first project, whether that means making something new or improving an existing routine.
Probably not for
Someone looking for a Python language reference, a book solely about machine learning, or a ready-made script guaranteed to work with a particular office system.
Specifications at a glance
| Print edition detail | Python Crash Course | Automate the Boring Stuff with Python |
|---|---|---|
| Author | Eric Matthes | Al Sweigart |
| Edition compared | Third, English print edition | Third, English print edition |
| Publisher and length | No Starch Press; 552 pages | No Starch Press; 672 pages |
| Print ISBN-13 | 9781718502703 | 9781718503403 |
| Starting sequence | 11 introductory chapters, including classes and testing | 8 fundamentals chapters, including debugging and string handling |
| Where the later chapters lead | A game, data visualizations and a Django web application | Task-specific programs for files, spreadsheets, documents and other workflows |
As an Amazon Associate I earn from qualifying purchases.
Python Crash Course, 3rd Edition, by Eric Matthes (paperback)
Matthes gives a beginner a reason to return to the same program. A game gains enemies and scoring; a web project gains accounts and a deployment path. It suits the reader who wants to follow how separate changes add up to an application.
Pros
- Classes and testing have a place in the introductory sequence
- Three project areas let you explore games, data and web development without committing to one specialty
Cons
- A reader who only wants to process routine spreadsheets will find a more direct route in Sweigart
- Continuing a multi-chapter project means keeping track of the state of earlier code
Who it’s for: Choose it if you want to understand and extend a program across several sittings. Skip it as a first purchase if you have a specific document-processing job and little interest in application development.
Check Python Crash Course, 3rd Edition, by Eric Matthes (paperback) on Amazon Paid linkAutomate the Boring Stuff with Python, 3rd Edition, by Al Sweigart (paperback)
Sweigart organizes the applied material around inputs and jobs: a folder of files, a workbook, a PDF or a database. Once you have the fundamentals, your next chapter can be the one that resembles something you already do by hand.
Pros
- Separate chapters cover local Excel workbooks and Google Sheets
- The author makes the third edition readable online, so you can inspect a relevant chapter before choosing print
Cons
- Adapting an example to your own files requires decisions about errors, duplicates and naming
- A series of practical tasks is a less direct path to building a game or a multiuser web app
Who it’s for: Choose it if you can describe a repeated task, its input and a useful output. Pass if your real interest is designing the interactive program someone else will use.
Check Automate the Boring Stuff with Python, 3rd Edition, by Al Sweigart (paperback) on Amazon Paid linkImagine two versions of the same project
Suppose you organize a neighborhood running club. Every Saturday someone sends you a results sheet. You open it, fix the dates, rename the file and put it in the right folder. If the part you want to learn is turning that routine into a repeatable command, look at Sweigart. His chapters on files, text patterns and spreadsheets fit three separate parts of your job. You do not have to invent a reason to care about a loop: you already have a pile of rows to process.
Now imagine the club wants a page where members can log in and enter their own results. That is a different project, even though it involves the same names and dates. You are no longer the only person interacting with a local file. Someone needs to see a form, submit it and see the right information afterward. Matthes’s Django project is the closer teaching model. It does not deliver a running-club system, but user accounts and a web application are part of its documented scope.
The decision can go either way if your goal is a chart. Is the interesting part exploring how to display a dataset and getting data into the program? Matthes has a project sequence for that. Is the chart the final step after wrangling a workbook every week? Sweigart covers both spreadsheets and graphs. Choose by the part you find difficult today, not by the fact that both tables of contents mention data.
Choose a way to study that you can actually sustain
Consider what you like to find when you open a book after several days away. In a continuing project, you can run the last working version, remind yourself what happens on screen, and make one change. Add an enemy, then see where the code that draws it meets the code that responds to a collision. That kind of investigation is the appeal of Python Crash Course. It is also a reason to keep a working copy at the end of each session. Otherwise, the next session can start with reconstructing yesterday instead of building on it.
For a task-led reader, a small utility can have a clearer stopping point. Start with five made-up report names; write a script that lists each old name next to its proposed new name. Stop there, even if the eventual aim is to rename hundreds. Returning a week later, you have an input, an expected output and a visible mismatch if something is wrong. This is a suggested practice exercise for the file-handling topics in Automate, not a promise that a book example will know your preferred filing conventions.
Neither approach makes the introductory chapters optional for a complete beginner. A spreadsheet contains cells, but the program working on it still needs to make choices and repeat operations. A game has moving objects, but it still needs the same basic ideas. Compare a few pages from the early material as well as the exciting final projects. If a description of variables is clear enough that you can predict what happens when you change a value, that is a better personal signal than the length of the book.
Separate code practice from changes to real files
An automation that works on a single example can do exactly the wrong thing very consistently. Before you point a program at anything important, make a practice folder containing copies or deliberately invented files. Include two whose names would become identical under your proposed rule, one that is already correctly named and one with no date at all. Have the script report those cases. Deciding what should happen is part of writing the program, not a detail the choice of textbook can settle.
A copy on the same machine is convenient for practice; it is not a substitute for a separate backup of important material. If offline backup is a separate purchase you were already considering, the portable hard-drive comparison covers that decision. You do not need to buy storage to try a chapter with invented files. And on a work computer, use only material and software you are allowed to use. A local script with sample data is enough to find out whether the approach interests you.
Take a paper archive as another example. Getting a legible page into a file and finding the words inside that file are separate jobs. The portable document scanner guide addresses capture. Sweigart’s sections on documents and recognizing text address what you can do afterward. Start with a sample scan you already have. If it produces ambiguous characters, examine the original and the extracted text before designing a filing rule that depends on a single digit.
Try one exercise before committing to a paperback
No Starch Press links a sample chapter on variables and simple data types from the Matthes book page. Read a short example, close the page and try changing the example from memory. Then write down one feature you would add to the later game or web app. If those two activities feel connected, the progression from foundations to projects is likely to make sense to you. If you want only the finished app and have no interest in changing the program, a book about writing it may not be the right purchase.
Sweigart offers the third edition to read on his own site. Open the chapter closest to your real job and identify the first piece of code you cannot explain. Then try the earlier chapter that introduces that idea. That little round trip tells you whether print would be useful as a desk reference or whether you would prefer to keep reading on screen. The separate Automate workbook follows the main text; it is not the book linked in this comparison.
For a class, match the full print ISBN to the syllabus before choosing on subject alone. Chapter numbers, exercises and support files belong to an edition. For independent study, start with one book, one small project and a place to keep the code. Buy Matthes when the next feature is what makes you want to sit down again; choose Sweigart when you already know the task you would like to stop doing by hand.
Official sources and further reading
Sources reviewed on November 7, 2026. Prices, availability and terms can change; recheck before buying.
- No Starch Press: Matthes third edition, print ISBN, length, contents and sample chapter
- No Starch Press: Sweigart third edition, print ISBN, length, contents and workbook distinction
- Al Sweigart: third edition online and separate workbook
- Amazon US: Python Crash Course third-edition print ISBN 9781718502703 Paid link
- Amazon US: Automate the Boring Stuff with Python third-edition print ISBN 9781718503403 Paid link
Commission disclaimer
This article contains affiliate links. If you buy or sign up through one of them, I may earn a commission at no extra cost to you. That commission does not change the price you pay or the criteria used in this guide. Product details, prices, availability, and terms can change, so confirm the current information on the linked page before buying.