Richard Brodie <[EMAIL PROTECTED]> wrote: > "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.
Thanks, the itertools seem to contain several useful functions. -- "On some great and glorious day the plain folks of the land will reach in their heart's desire at last and the White House will be adorned by a downright moron." -H.L. Mencken (1880-1956) American Writer -- http://mail.python.org/mailman/listinfo/python-list