On 2007-02-25, Jussi Salmela <[EMAIL PROTECTED]> wrote: > I'm nitpicking, but the OP has a list of tuples: > ec = [ item[2:] for item in mainlist if item[:2] == ('eco','con') ]
Jussi, An excellent nit to pick. Thank you, Rich -- http://mail.python.org/mailman/listinfo/python-list