Duncan Booth wrote: > items[::2], items[1::2] = items[1::2], items[::2]
Cool. I really should have found that myself. Peter -- http://mail.python.org/mailman/listinfo/python-list
Duncan Booth wrote: > items[::2], items[1::2] = items[1::2], items[::2]
Cool. I really should have found that myself. Peter -- http://mail.python.org/mailman/listinfo/python-list