Do you know python's object model? A lot of these things will make much more sense once you do: http://effbot.org/zone/python-objects.htm