Wed 12 June 2013 Al Sweigart
Tue 11 June 2013 Al Sweigart
Wed 05 June 2013 Al Sweigart
A text-style game is a common project for beginner programmers. These can be fun to do, but also require spending time up-front to design it is worthwhile. Before you start designing your own game, look at the design decisions of a few different text-style game genres.
Mon 22 April 2013 Al Sweigart
Mon 15 April 2013 Al Sweigart
My third book, Hacking Secret Ciphers with Python, is finished.
Tue 19 February 2013 Al Sweigart
Thu 27 December 2012 Al Sweigart
Hackety Hack was a project originally started by _why the lucky stiff to teach kids programming in Ruby. It often comes up in "I want to teach my kid programming" forum threads. So I downloaded Hackety Hack and decided to give it a try.
I found Hackety Hack to be frustrating and was very unimpressed with it, and do not recommend it as a way to teach programming to a beginner.
Mon 10 December 2012 Al Sweigart
Wed 21 November 2012 Al Sweigart
Tue 30 October 2012 Al Sweigart
A button is a common user interface (UI) control that is used in many software applications. It seems simple enough: there's a button on the window and you click on it and something happens. But there's a lot of details we should plan out ahead of time. Remember, we want to make a generic button class so that other programmers can use this in their games and programs. Once you've read through the process here, you'll be familiar with how to make your own modules for UI elements.
Thu 27 September 2012 Al Sweigart
But I suppose a longer answer would be more satisfying.
Fri 17 August 2012 Al Sweigart
"Zip" programs that can compress multiple files into one smaller .zip file are fairly popular for downloads since the fewer bytes you have to download the faster it will download. But how do you compress files? Files are made up of ones and zeros, which can't be squished like clothes into a tight suitcase.
Mon 13 August 2012 Al Sweigart
Fri 10 August 2012 Al Sweigart
Thu 09 August 2012 Al Sweigart
Mon 30 July 2012 Al Sweigart
If you need an idea for a game, try this random game mechanic generator.
Wed 18 July 2012 Al Sweigart
Mon 09 July 2012 Al Sweigart
Figuring out what Python's error messages mean can be kind of tricky when you are first learning the language. Here's a list of common errors that result in runtime error messages which will crash your program.
Thu 21 June 2012 Al Sweigart
True is the opposite of false. Up is the opposite of down. What is the opposite of dog?
Wed 16 May 2012 Al Sweigart