Archive for the 'reference' Category

TextWidget – A simple text class for PyGame

Wednesday, December 13th, 2006

Introduction All right, this is just a little tutorial about working with text in pygame. Now, this isn’t the only way to work with text, there are many other methods to do this, in fact much of the time you’ll probably end up using images for interactive text. So this is mainly meant to serve [...]

WordPy 0.2 – Using XML to Save and Load Data

Tuesday, October 24th, 2006

All right, so we have our base WordPy application running, so let’s try to extend it a bit more by letting you load and save blog posts to and from an xml file. Please note that this tutorial simply shows one method of saving and loading data using xml, there are many different methods and [...]

Creating a GUI in Python using Tkinter

Wednesday, February 8th, 2006

Up until now we’ve focused on python applications that only run in the command line. For a lot of tasks this is great, but in order to be really impressive we’re going to want to create a GUI for some of our python applications. There are a lot of python GUI toolkits out there, but [...]

Classes

Saturday, January 28th, 2006

If you are familiar with Object Oriented programming you probably already know what classes are. If you are unfamiliar with the idea of classes in programming I suggest you give the class topic a read over at wikipedia, it should familiarize you with the idea of a class. Once you know what a class is [...]