I am trying to do something in pyGTk where I build a list of HBoxes:
self.keyvalueboxes = [] for keyval in range(1,self.keyvaluelen): self.keyvalueboxes.a
Check out http://docs.python.org/library/functions.html#zip. It lets you iterate over two lists at the same time.