"Henrik Holm" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> I suppose I could also use a lambda here -- but is there a different, > efficient, and obvious solution that I'm overlooking? Check the itertools recipes in the library documentation. -- http://mail.python.org/mailman/listinfo/python-list