
Computer Science From Scratch
Building Interpreters, Art, Emulators and ML in Python
David Kopec(Author)
No Starch Press
Published on 30. September 2025
280 pages
978-1-7185-0431-8 (ISBN)
System requirements
for ePUB without DRM
E-Book Single Licence
You are acquiring a single user licence for this eBook, which you might not transfer. [L]
Available for download
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
Test and sharpen your Python skills with seven guided projects that explore popular computer science challenges.
Computer science can feel unapproachable for those without a formal CS education. Computer Science from Scratch pulls back that curtain, illuminating several foundational CS concepts through creative, hands-on projects.
Each of the 7 projects is presented in 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
Computer science can feel unapproachable for those without a formal CS education. Computer Science from Scratch pulls back that curtain, illuminating several foundational CS concepts through creative, hands-on projects.
Each of the 7 projects is presented in 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
More details
Language
English
Place of publication
New York
United States
Product notice
Reflowable
File size
17,22 MB
ISBN-13
978-1-7185-0431-8 (9781718504318)
Schweitzer Classification
Other editions
Additional editions

Book
09/2025
No Starch Press
€47.00
Available immediately
Person
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.
Content
Introduction
Part I: Interpreters
Chapter 1: The Smallest Possible Programming Language
Chapter 2: Writing a BASIC Interpreter
Part II: Computational Art
Chapter 3: Retro Image Processing
Chapter 4: A Stochastic Painting Algorithm
Part III: Emulators
Chapter 5: Building a CHIP-8 Virtual Machine
Chapter 6: Emulating the NES Game Console
Part IV: Super Simple Machine Learning
Chapter 7: Classification with K-Nearest Neighbors
Chapter 8: Regression with K-Nearest Neighbors
Afterword
Appendix: Bitwise Operations
Part I: Interpreters
Chapter 1: The Smallest Possible Programming Language
Chapter 2: Writing a BASIC Interpreter
Part II: Computational Art
Chapter 3: Retro Image Processing
Chapter 4: A Stochastic Painting Algorithm
Part III: Emulators
Chapter 5: Building a CHIP-8 Virtual Machine
Chapter 6: Emulating the NES Game Console
Part IV: Super Simple Machine Learning
Chapter 7: Classification with K-Nearest Neighbors
Chapter 8: Regression with K-Nearest Neighbors
Afterword
Appendix: Bitwise Operations
System requirements
File format: ePUB
Copy protection: without DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Use a reader that can handle the file format ePUB, such as Adobe Digital Editions or FBReader – both free (see eBook Help).
- Tablet/Smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (not Kindle).
The file format ePUB works well for novels and non-fiction books – i.e., 'flowing' text without complex layout. On an e-reader or smartphone, line and page breaks automatically adjust to fit the small displays.
This eBook does not use copy protection or Digital Rights Management
For more information, see our eBook Help page.