> Both filelist and self.checkbox are the same size (4 items btw). Is
> there any way to get this done?

Use zip:

a, b = [1,2,3], ['a', 'b', 'c']
for i,j in zip(a,b):
    print i,j

Or from itertools izip - which should be slightly more performant and less
memory consuming.

-- 
Regards,

Diez B. Roggisch
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to