On 09/07/2008, bob gailer <[EMAIL PROTECTED]> wrote:
>  or just [ x for x in LIST if x ]

or filter(None, LIST).  But that's a bit obscure.

(fractionally faster, though, according to my brief experiment with timeit)

-- 
John.
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to