Max M wrote: > I guess that I can iterate it like: > > for ((envelopeStart, msg), envelopeEnd) in range(0, len(messages), 2): > # do stuff I guess not. I really meant: for i in range(0, len(results), 2): ((envelopeStart, msg), envelopeEnd) = (results[0], results[1]) -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science