On Thu, 16 Feb 2006 12:30:47 -0800, SMB wrote: > I know I could do this with two for loops, but am looking for a better > solution maybe involving list comprehension.
What's wrong with for loops? Why do you think they are unPythonic? -- Steven. -- http://mail.python.org/mailman/listinfo/python-list