Monika Jisswel wrote:
list comprehention :  [ x for x in LIST if x != '' ]

or just [ x for x in LIST if x ]

--
Bob Gailer
919-636-4239 Chapel Hill, NC

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

Reply via email to