The Python Coding Book is out—I published the First Edition in paperback and EBook, which is a revised version of the “Zeroth” Edition which you’ve been able to read here on this site for a while—just ask Google for a “python book” and it will recommend this one as one of it’s top entries!
Read on to see the table of contents, the back-cover blurb introducing the textbook, and testimonials from you, the readers!
The Python Coding Book • A relaxed and friendly programming textbook for beginners
Table of Contents
First Edition, 368 pages
- 0 Preface • How to Learn to Code
- Before You Start • Downloading Python and an IDE
- 1 Getting Started: Your First Project
- 2 Loops, Lists, and More Fundamentals
- 3 Power-up Your Coding: Create Your Own Functions
- 4 Data, Data Types, and Data Structures
- Monty and The White Room: Understanding Programming
- 5 Dealing With Errors and Bugs
- 6 Functions Revisited
- 7 Object-Oriented Programming
Blurb
Imagine a programming book that feels like a conversation with a friend who’s here to show you the ropes—that’s The Python Coding Book by Stephen Gruppetta. This isn’t a dry textbook. It’s a warm, engaging guide into the world of Python programming, designed with beginners in mind.
With an approach that emphasises clarity and the joy of learning, Stephen guides you through the core concepts of programming, breaking down the barriers that make coding seem inaccessible to many. This book is built on the premise that to truly grasp programming, you need to understand the ‘why’ just as much as the ‘how’. Through engaging explanations, thoughtful analogies, and practical projects, you’re not just learning to code—you’re learning to think and solve problems like a programmer.
Forget about overwhelming details and rapid leaps in complexity. The Python Coding Book introduces concepts at a pace that ensures comprehension, building a solid foundation that instils both knowledge and confidence.
Are you ready for a rewarding journey? The Python Coding Book is more than a book—it’s your first step towards mastering programming with Python. This book is an invitation to not only learn Python but to fall in love with coding.

Testimonials
“It’s the first time I’m understanding what everything does.”
“Your writing is succinct, easy to understand, and process oriented, which I really appreciate. I’m starting to realise that my first experiences with programming weren’t at all representative of my abilities to problem solve or structure my thinking. It has been a great confidence booster for me, and I’m sure other folks are also realising that they were never really the problem. It was the lack of resources or inaccessible information that was the issue. Thanks again for this wonderful resource.”
“The clarity of your writing has helped me understand Python at a deeper level.”
“Thank you for this great resource. I believe this book is the most comprehensive way to understand the material, going beyond the mere memorisation of code snippets or syntax. I recommend it to everyone I talk to who is looking for a Python resource for getting started and who wants to really understand what they are doing at a deeper level.”
what a coincidence hahaha ! I am starting this book for preparing myself to start at Imperial this October and l happen to discover the author graduates at imperial too ! and this book is absolutely fantastic. i am now confident to nail the python course
Indeed, I was there for about three and a half years to do my PhD, 2000-2004, Physics Department (Level 8 I think it was!) How about you, what course are you starting. Good luck with that and with your Python. Hope you find The Python Coding Book useful!
This is a really welcoming and well-paced introduction to Python! I especially love how the book focuses on why things work, not just how—that makes it so much easier to build real understanding. I can already feel my confidence growing as I work through the exercises. Thanks for making learning Python feel less intimidating 🎉