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.
Key points
- Choose the third edition if you want the documented changes to file handling, testing, and project workflows. It uses
pathliband replacesunittestwithpytest. (Source: https://ehmatthes.github.io/pcc_3e/new_in_3e/) - The author identifies Python 3.11 for the third edition and Python 3.7 for the second, with VS Code replacing Sublime Text as the recommended editor. (Source: https://ehmatthes.github.io/pcc_3e/new_in_3e/)
- The project revisions include Plotly Express, updated datasets, and changes to the Django application's styling and deployment. (Source: https://ehmatthes.github.io/pcc_3e/new_in_3e/)
What the edition choice actually is
Choose the third edition if you are starting fresh and want the file-handling, testing, and project workflows described on the author's change page. The second edition fits more specifically if you want its documented choices of Sublime Text and unittest, or are deliberately following its Python 3.7-based presentation.
An edition comparison is a comparison of the tools, explanations, and project workflows documented for different editions of the same book.
Here, the useful distinction goes beyond the Python version. The author's account describes changes to how readers work with files, install libraries, test code, build plots, and deploy a web application. Those are concrete differences to consider before choosing which edition to follow.
The page also distinguishes editorial revisions from tooling changes. Some explanations have been clarified, unnecessary annotations have been removed from shorter code listings, and the game project's listings have been reordered. These changes matter to the choice because the third edition revises the presentation as well as the software used in its examples.
The evidence comes from the author's “What's new in the third edition?” page, retrieved on 2026-10-24.
What the author says changed
The author states:
“The new edition uses updated libraries throughout, and updated workflows for each library.”
Source: Python Crash Course, “What's new?”, retrieved on 2026-10-24.
The editor change is straightforward: VS Code replaces Sublime Text. The setup section recommends VS Code for readers without an existing preference, while explicitly allowing any editor properly configured to run Python code. Choosing the third edition therefore does not require abandoning an editor you already use.
The early material adds removeprefix() and removesuffix(), which the author describes as useful when working with files and URLs. It also incorporates improved Python error messages that provide more specific troubleshooting information. The changes to the following fundamentals chapters focus on clearer explanations and simpler code listings.
File handling moves to pathlib. The author describes this as a simpler approach to reading and writing files and connects it with how major libraries handle files. For someone choosing an edition around the code they will practice, this is a more specific distinction than a general promise of refreshed content.
Testing changes from the standard library's unittest to pytest. The testing chapter also introduces installation of third-party libraries. In the second edition, that topic was introduced in several projects later in the book; the third edition brings it into the testing material.
The project revisions cover all three project areas. Alien Invasion gains an FPS setting intended to make the game run more consistently across systems. The author also describes a simpler method for building the alien fleet and a more accessible order for the code listings.
For data visualization, the figures follow changed Matplotlib default styles, and plotting with Plotly moves to Plotly Express. The author describes the latter workflow as building an initial plot quickly and then making styling choices. The random walk project receives an accuracy improvement, while the weather and earthquake projects use updated datasets. The GitHub data is updated as well.
The Learning Log web application uses Django 4.1 and Bootstrap 5. Some project components have been renamed to clarify the Django project layout. Deployment moves to Platform.sh and is controlled through YAML configuration files.
The appendices receive changes of their own: revised installation help, VS Code customization and shortcuts, updated resources for getting help, and an entirely new appendix on troubleshooting web application deployments. The Git appendix names these commands:
git restore
git switch
The author associates the first with rolling back project changes and the second with returning to the main branch. These are command names reproduced from the change page, rather than complete instructions with arguments. The book has also been entirely re-indexed.
Source: Author's edition-change page, retrieved on 2026-10-24.
The documented differences side by side
The clearest direct comparisons are the places where the author explicitly identifies both an earlier choice and its replacement.
| Edition | Python used | Editor recommendation | Testing library | Introduction to third-party library installation |
|---|---|---|---|---|
| Second edition | Python 3.7 | Sublime Text | unittest |
In several projects in the second half |
| Third edition | Python 3.11 | VS Code | pytest |
In the testing chapter |
Source: Author's edition-change page, retrieved on 2026-10-24.
This table separates direct edition contrasts from the longer list of third-edition revisions. It gives a practical starting point: decide whether the editor, testing library, and placement of installation guidance match the material you want to work through.
The project details then refine that decision. A reader primarily interested in plotting has a specific reason to consider the Plotly Express workflow. A reader focused on the web application has a different set of changes to weigh: Django, Bootstrap, YAML-based deployment, and deployment troubleshooting guidance.
Which edition fits your goal?
Choose Python Crash Course, Third Edition if your goal is to follow the revised workflows described by the author. The case is particularly concrete when you want pytest for the testing exercises, pathlib for file work, or VS Code guidance alongside the main lessons.
For a reader interested in data visualization, the third edition's Plotly Express approach and revised datasets are relevant changes. Its Matplotlib figures also follow the default styles described on the change page. These details help identify what the exercises will demonstrate without turning the edition choice into a claim about learning speed.
For a reader interested in building the web application, the third edition includes the described Django and Bootstrap setup, deployment through YAML configuration files, and additional troubleshooting material. The new deployment appendix is relevant if working through deployment problems is part of what you want from the book.
Choose Python Crash Course, Second Edition when you specifically want the earlier documented tool choices. Its use of unittest is a concrete reason for that preference. Its Sublime Text recommendation is another distinction, although the author's permission to use any properly configured editor makes editor preference less decisive by itself.
If you already own the second edition, connect a possible change of edition to a named part of your learning plan. The author's list gives you specific changes to evaluate: file handling, testing, plotting, game presentation, and web deployment. That is a firmer basis for a decision than treating the edition number alone as the benefit.
What these pages do not tell you
The author's change page is an account of revisions, not a measured comparison of learning outcomes. It provides no evidence that readers finish one edition faster, understand a topic more deeply, or encounter fewer errors overall. Its statements about clearer explanations and easier-to-follow listings remain the author's descriptions.
It also does not establish that the second edition's projects work unchanged in a present-day environment. Conversely, the listed third-edition software versions do not establish compatibility with every later release. The retrieval date records when the page was obtained; it does not turn its software-version statements into a current compatibility test.
For several project changes, the page names the third-edition approach without identifying the exact second-edition counterpart. That leaves the earlier web deployment setup and earlier project-library versions unverified here.
Finally, this page does not establish that either edition's full text is free to read online. It offers enough detail to choose around documented tools and workflows, but not enough to judge either edition through hands-on reading or independently tested project results.

Comments