[MDK] > What is the most efficient way to remove empty items from this list? > > ['', '1', '2', '3', '', '456', '789', 'wow'] Try filter: >>> l = ['', '1', '2', '3', '', '456', '789', 'wow'] >>> filter(None, l) ['1', '2', '3', '456', '789', 'wow']