This repository contains all of the source code for the book Fun Computer Science Projects in Python by David Kopec and published by No Starch Press.

Search code, repositories, users, issues, pull requests...

submited by
Style Pass
2025-01-11 00:30:17

This repository contains all of the source code for the book Fun Computer Science Projects in Python by David Kopec and published by No Starch Press. The book, intended for intermediate to advanced Python programmers, features 7 projects of varying complexity from the realm of interpreters, emulators, computer art, and simple machine learning. In the table below is a description of the 7 projects and further down in this README there are directions for running (and testing) each of them. The projects are compatible with Python 3.12 and above.

The book is available now, in its entirety, from No Starch Press. Although this is technically an "Early Access" eBook edition, it is essentially the same exact book as will be published by No Starch Press in print form in mid 2025. You can choose to either purchase the eBook now, or pre-purchase the print book which will also give you immediate access to the eBook.

The following directions assume you are in the root directory of the repository in a terminal and that your Python command is python (on some systems it is python3). The code is tested against Python 3.12 and 3.13. It will not work with earlier versions.

Leave a Comment