The Invent with Python Blog

Writings from the author of Automate the Boring Stuff.

Sun 18 September 2011

Virtual Caesar Cipher Wheel program

Posted by Al Sweigart in pygame   

The Caesar Cipher Wheel is a paper cutout that can be used to perform encryption and decryption in the Caesar Cipher. However, if you don't have a printer but do have Python and Pygame installed, you can use this Caesar Cipher Wheel program to rotate a virtual cipher disk instead.


Wed 07 September 2011

Rough Drafts of My Next Two Books Are Available

Posted by Al Sweigart in news   

I've decided to make the incomplete rough drafts of my next two Python books available.

Become a Codebreaker with Python

Making Graphical Games with Pygame

The emphasis is on "rough" and "incomplete", but I thought it would be better to give a preview of the direction I was going. These books are also available under a Creative Commons BY-NC-SA license like the first "Invent with Python" book.


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.