Jump to ratings and reviews
Rate this book

Coding Projects in Python

Rate this book
Using fun graphics and easy-to-follow instructions, this straightforward, this visual guide shows young learners how to build their own computer projects using Python, an easy yet powerful free programming language available for download.

Perfect for kids ages 10 and over who are ready to take a second step after Scratch, Coding Projects in Python teaches kids how to build amazing graphics, fun games, and useful apps. All they need is a desktop or laptop, and an Internet connection to download Python 3.

Step-by-step instructions teach essential coding basics like loops and conditionals, and outline 14 fun and exciting projects, including a script that cracks secret codes, a quiz to challenge family and friends, a matching game, and much more. When they are feeling more confident, kids can think creatively and use the tips and tricks provided to personalize and adapt each project.

The simple, logical steps in Coding Projects in Python are fully illustrated with fun pixel art and build on the basics of coding, so kids can have the skills to build whatever kind of project they can dream up.

Supporting STEM education initiatives, computer coding teaches kids how to think creatively, work collaboratively, and reason systematically, and is quickly becoming a necessary and sought-after skill. DK's computer coding books are full of fun exercises with step-by-step guidance, making them the perfect introductory tools for building vital skills in computer programming.

224 pages, Paperback

Published June 6, 2017

9 people are currently reading
213 people want to read

About the author

D.K. Publishing

9,152 books1,998 followers
Dorling Kindersley (DK) is a British multinational publishing company specializing in illustrated reference books for adults and children in 62 languages. It is part of Penguin Random House, a consumer publishing company jointly owned by Bertelsmann SE & Co. KGaA and Pearson PLC. Bertelsmann owns 53% of the company and Pearson owns 47%.

Established in 1974, DK publishes a range of titles in genres including travel (including Eyewitness Travel Guides), arts and crafts, business, history, cooking, gaming, gardening, health and fitness, natural history, parenting, science and reference. They also publish books for children, toddlers and babies, covering such topics as history, the human body, animals and activities, as well as licensed properties such as LEGO, Disney and DeLiSo, licensor of the toy Sophie la Girafe. DK has offices in New York, London, Munich, New Delhi, Toronto and Melbourne.

Source: Wikipedia.

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
36 (45%)
4 stars
30 (37%)
3 stars
12 (15%)
2 stars
1 (1%)
1 star
1 (1%)
Displaying 1 - 19 of 19 reviews
Profile Image for David.
725 reviews355 followers
March 5, 2018
A review for adults looking for a book to teach themselves programming

Some reviewers, like me, received an electronic copy of this book free of charge for review via Netgalley. Of these advance-copy recipients, some posted positive reviews fairly quickly after the book became available. I concede it might be appropriate to make comments on, for example, the book's layout and user-friendliness based on an hour's examination, maybe less. However, I thought that a better, if less quick, review would result if I, a comparative programming novice, took this book in hand and tried to teach myself a little Python with it. This I did.

I made it to about page 80. In a few days, they will yank my free copy off of my Adobe Digital Editions app. I should have gone further, but life intervened. It is a sincere endorsement of this book that I (a practicing miser) am seriously considering paying good money for an electronic copy of this book. I recommend it for the admittedly small audience of people in my position, i.e., grumpy middle-aged people who hear everybody talking about coding and are interested in educating themselves, independently and without assistance.

Python seems a good choice for self-education because, in an unscientific sampling, I found it to be the most-frequently-taught programming language at high school level or above, at this writing.

I also recommend it for parents of younger children who wish to maintain the fiction, in the eyes of their offspring, that they are really smart people. If elementary-school children are using books like this, you can get ahead of the curve by educating yourself before your child comes to you with an expression, first, of confusion about his or her homework, and then, second, of heart-breaking disappointment as they discover that you do not know everything. Soon enough, they will be teenagers who believe that you are the biggest idiot in the world, and the desire to delay the onset of this attitude as long as possible is, I believe, a reasonable goal.

The book is understandably geared toward a younger audience, with cheerfully colorful graphics and an emphasis (at least in the first 80 pages) on game-like applications. It is maybe too print-heavy for children who have only recently learned to read, but I think it is appropriate for all over 10 years old, maybe younger. However, it is not childish book, and I feel a programming novice of any age would feel comfortable with, and understand the utility of, the projects in the book.

The book explains how to download Python for free, as well as IDLE, a Python programming environment. Anyone who uses online banking or Google Docs should have sufficient skills to do this.

When you sign up to get free books via NetGalley, publishers sometimes plead with you not to moan about proofreading or typographical errors that appear in the your advance egalley copy, as (publishers assure) the errors will be found and removed in the final version. In the case of the latest potboiling novel, it is no big deal if an occasional typo slips through, but in the case of this book, a misplaced punctuation mark in the code may result in a long period of puzzled head-scratching as the resulting code stubbornly resists your efforts to make it run. In case errors make it into the final version, I would like to point out the following that occurred in my advance copy:

– page 19: the second close parenthesis should be deleted in the following line of code:

if (counter % 2) == 0):

– page 30: in the following line of code

>>> height = 1.5

the writers (presumably non-Americans) failed to convert this metric value into Imperial units (in this case, inches) to match the other values in this example.

– page 56: (This one perhaps is not a publisher error, maybe it's my incompetence:)

The “while True:” statement, as placed in the book's example on this page, did not work for me. As written, the code works only the first time you request a new password generated, and fails if you ask for any further passwords. I fixed the problem by moving the “while True:” statement up between “import string” and the list of adjectives. The list of adjectives and nouns then had to be indented for the code to run correctly.

– page 67: here, and elsewhere, it was not clear how much the code needed to be indented in order to run correctly. This led me to learn that indentation seemed more significant in Python than in other codes I've fooled around with. I mean to say: in Python, failing to indent properly will result in non-running code, even if all other aspects of the code are correct. I thought that this should have been explained with examples earlier in the book, but it's true that I learned it well, because I taught it to myself.

Thanks to DK Publishing and Netgalley for the opportunity to explore this book.
Profile Image for Jeimy.
5,401 reviews32 followers
May 8, 2018
Python is not an easy language to master, but this step-by-step guide makes it accessible for you readers to mimic the projects included in these pages.
Profile Image for Yzabel Ginsberg.
Author 3 books111 followers
August 25, 2018
[I received a copy of this book through Edelweiss, in exchange for an honest review.]

Actually, I finished reading this book quite a while ago, as a quick read, and was planning on going through it a second time at a different pace in order to fully use it—namely, to teach myself Python. I thought (and I still think I was right) that I’d then be able to review it properly. Unfortunately, between work and studying for both network certifications and uni, I don’t really have enough time to add programming to my timetable, so this will have to wait.

I made it to 25% of the book, in terms of following its teachings. From what I’ve experienced here, while I wouldn’t recommend it to younger children, it looks to me like it’d be an appropriate place to start for kids around 10-12. And older kids as well, of course. Or even adults. Because we’re ‘adults’ doesn’t mean that the colourful pictures will magically alter our ability to follow instructions to develop programs in Python.

The lessons were easy to understand and to put in practice. There were a few typos, but since I had an advanced copy, hopefully they’re gone from the printed version. (I could find my way around them, it was a matter of logics, but I’m not sure if a child would? Or maybe they would, who knows! Also, it’s good training in debugging, and this is never a waste.)

I wish I could give a deeper review. Maybe at a later time, once I can pick it up again.
Profile Image for Ben.
2,729 reviews225 followers
June 21, 2022
I thoroughly enjoyed reading this book.

I coded so many examples from this book and even elaborated on them.

This was a really fun book, and I would highly recommend it.

DK. DONKEY KONG. DK. DONKEY KONG (publisher / author).

Great!

4.8/5
Profile Image for Stacey.
120 reviews
January 9, 2018
This title is incredibly relevant with the recent popularity of coding. It teaches older children how to code in Python; one of the more popular coding languages available. The book is full of visuals and color-coded guides that make it easy to understand. I highly recommend for older children who are interested in coding and even adults who want a gentle start.
Profile Image for Annie.
4,624 reviews82 followers
October 1, 2017
Original blog post here

A new how-to from DK Publishing mostly aimed at the younger audience (10+) but perfectly usable for anyone who needs a good introduction to syntax and programming in Python.
DK are experts at well illustrated how-to books and this one is no exception.

Fairly hefty at 224 pages, this is a thorough introduction to Python. The examples are very well laid out with multiple real-life illustrations and screenshots. The graphics are lively and colorful and so much more interesting than the average doorstop sized coma-inducing boring snoozefest. This book is quite fun to read. Syntax and code are introduced gradually and build on earlier content. One thing I really liked about this book is that instead of just telling the reader what to do, it explains clearly why to do things and what effects result from which logical statements.

This book presupposes nothing. It begins introducing very basic concepts (what is a computer language, why program, what bugs are) and moves on to how to install (and that younger users should get permission before installing anything on their platform).

The book is full of sidebars with tips and tricks and pitfalls to avoid as well as good debugging information to minimize frustration.

The post-installation parts introduce the shell and working with test code and the difference between the shell and editor. The second chapter moves on to talk about flowcharts and writing a simple program. Each chapter also introduces terms and concepts used in the programming exercises for that chapter; for example, variables, lists, and strings are introduced defined and used in chapter 2.

Chapter 3 introduces graphics and provides several fun exercises for programming graphics.
At the end of each chapter, the material is reviewed with additional 'Hacks and Tweaks' allowing further experimentation and improvement. There's a graphic robot builder and a kaleidoscope spirograph type exercise among others.

Chapter 4 moves to app writing and self contained programming for different devices and platforms. As with the rest of the book, all of the different exercises are completely illustrated and supported with accessible, easily understood text and pictures.

Chapter 5 continues to build on the previous content with more complex games such as Snap! and concentration matching games. As always there are sidebars with tips and a section for tweaking and improving the programs.

There is a reference chapter at the end which is accessible and usable. Code references for all of the projects in the book are included here along with a very useful indexed glossary.

Perfectly useful and not oversimplified or patronizing. I learned a lot from this book and can heartily recommend it to Python newbies to more advanced beginners, whatever their age.

Five stars.

Disclosure: I received an ARC at no cost from the author/publisher
Profile Image for Suphatra.
253 reviews25 followers
February 19, 2019
I read this for my son and we did the projects together. He is eight years old and loves computer science. I had read the other DK book about getting your kids started in CS, which included a section on Python but was too introductory. This book definitely went deeper and broader, teaching a range of projects and explaining details like how to set up the coding environment.

My only complaint about this book is that you have to have either a PC or Mac to use it. I have a Linux machine, my son a Chromebook, so we had to dig up my old PC in order to use the book. Given the prevalence of Chromebooks among students today, I think the next edition shoukd be updated to include these Linux-based machines.

I would recommend this book for any parent who is helping their kid go from advanced MIT Scratch Lab to text-based programming. Note, you should have your child learn to type with both hands first (even just novice level) or else it can be painful waiting around for them to type simple commands.

This is also a great reference manual as your child moves up in their programming expertise. I had taken this out of the library but then bought a copy when I saw we were going to reference this frequently in the future.
Profile Image for Bob Morton.
Author 6 books4 followers
April 16, 2018
I got a review copy form the publisher through NetGalley.

This is an excellent book for children. As I teach a college class it helped me in learning Python ahead of a class that I am teaching in Introduction to programming.

For children it is a step by lesson on learning programming. Python is used for its simplicity. Fun projects are done with an eye to keeping children interested. If I had a young child who showed an interest in programming I would definitely have them look at this. Python is easily available for all systems and though they talk about a specific editor, any editor would work.

Recommend for anyone wanting to learn Python, even adults.
Profile Image for Cassie.
23 reviews1 follower
July 8, 2017
{Excerpt} I’m actually super glad that I got to review this book. Yes it is geared towards kids, however, if you’re an adult with a child who likes computers and computer games, flipping through this would actually teach you a few things that you could show your kid that they would find interesting and then YOU could teach them instead of the book. This way you would understand what they were talking about when they get excited about other projects.

Read more here.
Profile Image for Patty.
51 reviews1 follower
February 11, 2020
I purchased this (Coding Projects in Python) to learn how to program an android phone. It doesn't serve well for that purpose because all of the content is geared toward either a Windows PC or a Mac, but I did like the projects and how easily it was to grasp. There's a companion book called "Coding Games in Python" that I also recommend. There are no installation instructions for Python either to your PC, Mac, or Android. For that you'll have to use Google. (I noticed some reviewers received this for free. I didn't. I paid for it.)
Profile Image for Ron.
2,616 reviews10 followers
April 27, 2020
I was trying to learn python and thought this book might help me. I've learned quite a few programming languages over my career, and this book was not for me. I think it is geared more towards a person who is learning programming rather than an experienced programmer.
Profile Image for Ettak.
663 reviews2 followers
November 25, 2018
I received this e-book ARC through Net Galley from DK Publishing in exchange for a truthful review.


Very modern, colorful, eye-catching "game-y" cover sets the tone of this juvenile non-fiction title.
In fact, the book is visually engaging through out, just what one would expect from a DK title geared towards kids.
Authors' avatars are listed along with their short bios.
Love that there are both female and male authors of this book.

Ideas are reinforced through cute graphics and interesting sidebars.
Chapters 1 and 2 teach the basics of getting starting with Python 3 and programming in general. The remaining chapters are full of interesting projects to tackle to learn universal programming concepts.

While the basics are taught in a useful progression (i.e. variables, statements, decision making, loops, functions, modules, graphics) I wish a forward reference to the more substantial Function section in Chapter 2 was mentioned when introducing the check_guess() function in the Animal Quiz section, which comes before the Function discussion takes place.

I gave this book 4.5 stars out of 5 because I found a few errata in the examples embedded in the chapters, which is a bit irksome for a book where a person might be put off/discouraged if their program doesn't work after copying an example from the book.

Geared towards age 10+, an excellent resource for both children and adults interested in learning Python 3 and programming concepts.
57 reviews
March 26, 2018
Coding Projects in Python is another great book from DK with lots of pictures and cool visual effects for kids. It starts with the basics of what the Python programming language is and how to get started, including how to pick appropriate passwords which is a good topic for kids. The next section contains step by step instructions for several different projects to practice the student’s newly acquired coding skills.

The book contains tons of tips and tricks to ensure successful understanding of the programming language. It also teaches the student the important skill of how to correct errors in the coding. There is also a handy reference section in the back that concisely lists the code for each project in the book as well as a glossary for understanding new coding terms. The project part of the book will excite new coders by being able to develop their own games to play or secret messages.

I received an advance reading copy from the publisher in exchange for an honest review. I was not obligated to write a positive review.
8 reviews1 follower
September 17, 2018
This is an interesting book for someone who is already interested in programming, has maybe tried project kits before, and has a parent to assist them. It is difficult to balance explanations when there is a lot to know but this skirts that line of over/under explaining certain items. For instance, there is a lot written about how to run a program, but the differences between an integer and a float feels like it needs to be expanded. This is a great book for a technical child because the projects look fun, they just have to get past the explanations first.

I showed this to my husband who is in IT and he said they look like good projects for someone who is interested, he especially liked the password picker, but he also agreed that it looks dense with information before the projects which might discourage some children from picking it up. Overall, it seems like a great book for young readers who are already interested in learning about Python and for parents who can work with their child while going through it.
Profile Image for Lanica.
313 reviews30 followers
March 25, 2019
I used this book with a few students in my maker-space. They were super excited about getting started, but stumbled over the things they didn't know. I loved the book, but there is a learning curve which my 3rd and 4th graders were hard pressed to master when I can't meet with them every day. One class period every week is not enough to make this a classroom purchase.

I do recommend it to teachers with more time than I have with my classes. It is well written and very colorful. My students loved it...but we just couldn't make it work in our environment.
Displaying 1 - 19 of 19 reviews

Can't find what you're looking for?

Get help and learn more about the design.