Python Crash Course, Second Edition

Note: The second edition of Python Crash Course has been out of print since 2023, and is significantly out of date at this point. The third edition is fully up to date.

All resources for the third edition can be found here.


Below are the archived resources for the second edition.


This is a collection of resources for Python Crash Course (2nd Ed.), an introductory programming book from No Starch Press by Eric Matthes.

The simplest way to download the source code files for the book is to click on the Download .zip button below. This will download the source code files for all chapters, as well as a number of data files and images you’ll need for the projects.

Download .zip View on GitHub


If you have any questions about Python Crash Course, feel free to get in touch:

Email: ehmatthes@gmail.com

Mastodon: @ehmatthes@fosstodon.org

Bluesky: @ehmatthes.bsky.social

Biweekly newsletter: Mostly Python

I’d love to know what you think of Python Crash Course! Please consider taking a brief survey.


Available from No Starch Press, Amazon, and Barnes & Noble. You can also find Python Crash Course in person at Barnes & Noble bookstores, and other fine booksellers worldwide.