
Modern Python Programming for Beginners
Build Maintainable Python Programs with Modern Syntax, Testing, Packaging, and Tooling
By: Ethan Caldwell, AI (Illustrator)
eBook | 9 November 2026
At a Glance
ePUB
eBook
$18.91
or 4 interest-free payments of $4.73 with
Instant Digital Delivery to your Kobo Reader App
Many beginners learn a few Python statements, then stall when a small script has to become a program someone else can install, run, and change. Files multiply, errors hide, and every fix breaks something else. This book closes that gap, teaching modern Python as a disciplined way to build maintainable programs from the very first project.
The book teaches through one coherent project, ReadTrack, a local command-line reading tracker that grows chapter by chapter. You build it with a virtual environment and a src layout, typed dataclasses and enums for clear data models, modules organized into a proper package, SQLite for local persistence, and an argparse command line. Custom exceptions, validation, and logging are built in from the start, so safe defaults and clear failures are habits, not afterthoughts.
The path is organized so a beginner can follow it in order. You set up a real workspace first, then learn values, names, and control flow, functions and clear interfaces, collections and data modeling, and files, paths, and structured data. From there the project takes on error design, project architecture, and object-oriented Python without ceremony. Testing with pytest, debugging and observability, packaging with pyproject metadata, and reproducible environments with tools such as Ruff and mypy complete the working method.
Inside, you will find:
• A clear setup for installing Python and building a workspace you can reproduce
• Values, names, control flow, functions, and types explained through runnable examples
• Collections and data modeling with dataclasses, enums, and structured data
• Errors, validation, and failure design, plus debugging, logging, and observability
• Modules, packages, and project architecture, and object-oriented Python without ceremony
• Testing with pytest, so each change to ReadTrack has to prove itself
• Packaging, reproducible environments, and security, privacy, and safe defaults
This book is for complete beginners and self-taught Python learners whose small scripts keep outgrowing their structure. It suits anyone who wants to write programs a future self, a teammate, or an employer can maintain with confidence. By the end, you will evaluate quality honestly, maintain a growing project without fear, and know the next steps for continued growth.
Start with a clean workspace, build ReadTrack one honest stage at a time, and finish with a packaged, tested Python program you understand completely and can maintain, extend, and trust as it grows.
on
ISBN: 6610001521677
Published: 9th November 2026
Format: ePUB
Language: English
Publisher: BGB Learn
























