The Invent with Python Blog

Writings from the author of Automate the Boring Stuff.









Wed 09 February 2011

Cipher Disk Cutout

Posted by Al Sweigart in programming   

Here's a cipher disk that you can print and cutout to help you manually implement the Caesar Cipher. Simply download and printout the PDF and cut out the two circles and place them on top of each other.

Read more...












Fri 25 June 2010

Gorillas.py: A Remake of Gorillas.bas

Posted by Al Sweigart in pygame   

Source code: gorillas.py

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.

Read more...