Fredrik Lundh wrote: > define "it". Sorry! I mean iterating over a list and having the list index available in the loop. Like: for i, thing in enumerate(things): pass Regards, Björn -- BOFH excuse #254: Interference from lunar radiation