Features Podcasts Family Video Comics Music Tech Science Books Film & TV Games ✚

Jill

Python for Kids: A Playful Introduction to Programming

Mark Frauenfelder at 3:17 pm Tue, Dec 18, 2012

— FEATURED —

Book Review

The Man Who Laughs: grotesque Victor Hugo potboiler was the basis for The Joker

Feature

Eurovision 2013: An American in London

Book Review

The Twelve-Fingered Boy - mesmerizing YA horror novel

— FOLLOW US —

Boing Boing is on Twitter and Facebook. Subscribe to our RSS feed or daily email.

 

— POLICIES —

Except where indicated, Boing Boing is licensed under a Creative Commons License permitting non-commercial sharing with attribution

 

— FONTS —

Tweet
Kindle

My 9-year-old daughter Jane likes playing with Scratch, a kids' programming language developed at MIT. (I recently reviewed a great book called Super Scratch Programming Adventure.)

Python for Kids: A Playful Introduction to Programming is another programming book for kids. I've been going through it myself, and enjoying it. Unlike Scratch, which lets you write programs by dragging and dropping colored command blocks, Python is a traditional programming language that uses lines of code. I've played around with other languages a bit, but Python is the only language that seems to be as easy and intuitive as BASIC. I'm not sure if Jane is ready for Python -- she wouldn't have trouble learning it, but it's not as fun as Scratch (at least at first), but I think in a year or two she might be. And this is the book I'll give her when she's ready.

Python for Kids brings Python to life and brings you (and your parents) into the world of programming. The ever-patient Jason R. Briggs will guide you through the basics as you experiment with unique (and often hilarious) example programs that feature ravenous monsters, secret agents, thieving ravens, and more. New terms are defined; code is colored, dissected, and explained; and quirky, full-color illustrations keep things on the lighter side.

Chapters end with programming puzzles designed to stretch your brain and strengthen your understanding. By the end of the book you'll have programmed

two complete games: a clone of the famous Pong and "Mr. Stick Man Races for the Exit" -- a platform game with jumps, animation, and much more.

As you strike out on your programming adventure, you'll learn how to:

--Use fundamental data structures like lists, tuples, and maps
--Organize and reuse your code with functions and modules
--Use control structures like loops and conditional statements
--Draw shapes and patterns with Python's turtle module
--Create games, animations, and other graphical wonders with tkinter

Python for Kids: A Playful Introduction to Programming

Read more in Family at Boing Boing

Mark Frauenfelder is the founder of Boing Boing and the editor-in-chief of MAKE and Cool Tools. Twitter: @frauenfelder. Come and hear Mark speak at the ALA conference in Chicago on July 1.

TAGS:  family programming

Read these next

Skittles sorting machine, version 3

David LaFerriere's sandwich bag art

  • http://glitch.tl/ Michael Smith

    I tried to get my son interested in Scratch but he was wanted to play with the pretty animations you can make but when I suggested he make his own he just went back to minecraft.

  • Henry Minsky

    I suggest Ruby for kids rather than Python; Python’s syntax is still a little too strict, you *must* have parens, and magic indentation matters.

    Ruby has optional parens, and indentation is not a concern. 

    Ruby also has a cleaner object model, for when kids get to that.

    • Schneems

      A thousand times yes, Ruby is amazing!

    • http://twitter.com/deadprogram Ron Evans

      If you have not seen it, please checkout KidsRuby (http://kidsruby.com) which is a version of the Ruby programming language for kids, including lessons. KidsRuby is also fully translated into Spanish, French, and Japanese.

  • MollyMaguire

    Neat! I have been thinking (well, hoping) for a couple years now that it will be fun to teach my kids python. They are only 5 and 3 right now, but I keep bringing it up. Because I think about my nephews who are in high school. A few times they have said that they thought it would be cool to be game designers and so I said, that’s cool, can you program at all?, to which the answer was always no. Well, how is that going to work out? 

  • sincarne

    If you live in Toronto, and have a TPL card, both books mentioned are available in Safari Books online!

  • pjcamp

    Vpython makes Python a whole lot more entertaining — very simple 3d animations. You can use it to learn a little physics too.

    http://www.vpython.org
    http://matterandinteractions.org/

  • http://twitter.com/Listener43 Listener43

    Bah. When we were kids, we all learned FORTRAN, and we liked it!

  • http://hairysun.com/ Matt Harrison

    I’ve taught 3rd-6th graders programming in Python, and they’ve had a good time. It is basically a matter of getting them to think logically (which can be hard) and follow the rules. The actual language is of secondary importance (but Python is a good choice :)). All of my slides are up on github [0].

    This looks like a nice book. When we were little we programmed on a C64 in basic, with little help (barefeet and in the snow too). A book like this probably would have made things easier.0 - https://github.com/mattharrison/ElementaryPython