James Stroud wrote: > indices = [t for t in zip(indices[::2],indices[1::2])]
(Artefact of cut-and-paste.) Make that: indices = zip(indices[::2],indices[1::2]) James -- http://mail.python.org/mailman/listinfo/python-list
James Stroud wrote: > indices = [t for t in zip(indices[::2],indices[1::2])]
(Artefact of cut-and-paste.) Make that: indices = zip(indices[::2],indices[1::2]) James -- http://mail.python.org/mailman/listinfo/python-list