Fun Computer Science Projects in Python placeholder cover

Fun Computer Science Projects in Python

by David Kopec
Fall 2025, 304 pp.
ISBN-13: 
9781718504301
Use coupon code PREORDER to get 25% off!

Computer science can feel unapproachable for those without a formal CS education. Fun Computer Science Projects in Python pulls back that curtain, illuminating foundational CS concepts through creative, hands-on projects.

Each of the 8 projects is presented as a code-centric tutorial that gently introduces topics like interpreters, emulators, and machine learning without getting bogged down by complex theory. The projects showcase advanced Python language features and clean code principles while exploring interesting algorithms.

Chapters conclude with discussions of real-world applications of the topic and proposed exercises to extend the reader’s skills. Covers Python 3.x

Author Bio 

David Kopec is an associate professor of computer science at Champlain College. He is the author of five programming books, including the Classic Computer Science Problems series, and spent several years as an iOS developer for startups. In addition to his teaching work, David is an avid podcaster and indie app developer with an MS in Computer Science from Dartmouth and an EMBA from Quantic.

Table of contents 

Introduction

Part I: Interpreters
Chapter 1: Brainfuck
Chapter 2: NanoBASIC

Part II: Computational Art
Chapter 3: Retro Dither
Chapter 4: Impressionist

Part III: Emulators
Chapter 5: CHIP-8
Chapter 6: NES

Part IV: Super Simple Machine Learning
Chapter 7: Classification with K-Nearest Neighbors
Chapter 8: Regression with K-Nearest Neighbors
Chapter 9: Conclusion and More Resources

Appendix: Bitwise Operations

The chapters in red are included in this Early Access PDF.

Extra Stuff 

A repository of code and errata for this title can be found at the book's GitHub page.