On 2009-12-11, Grant Edwards <inva...@invalid.invalid> wrote: > [s[1:-1] for s in l if (s[0] == s[-1] == '*')]
That last bit doesn't work right, does it, since an == expression evaluates to True or False, no the true or false value itself? -- Neil Cerutti -- http://mail.python.org/mailman/listinfo/python-list