On Tue, 15 Feb 2011 19:39:30 -0800, alex23 wrote: > Andrea Crotti <andrea.crott...@gmail.com> wrote: >> At the moment I have this ugly inliner >> interleaved = ':'.join(orig[x:x+2] for x in range(0, >> len(orig), 2)) > > I actually prefer this over every other solution to date.
Agreed. To me, it's the simplest, least contrived way to solve the problem. -- Steven -- http://mail.python.org/mailman/listinfo/python-list