The Invent with Python Blog

Writings from the author of Automate the Boring Stuff.

 A Remake of Gorillas.bas

Fri 25 June 2010    Al Sweigart

Source code:

An entire generation of people remember the Gorilla.BAS game that came with Qbasic, where gorillas on top of buildings threw exploding bananas at each other. This is a Python remake of that game using the Pygame game engine, and is fairly heavily commented so you can explore the source.


Lessons Learned from Writing a Technical Book to Teach Programming

Mon 02 November 2009    Al Sweigart

From 2008 to 2009, I wrote a book called “Invent Your Own Computer Games with Python” ( ) which guides young adults and complete beginners through learning how to program in the Python language. I’ve just completed the second edition of the book, which has been an exhausting amount of work. Looking back over it, I realized that it could have been a much less exhausting experience if I had made some simple preparations.