> I don't think, that this does, what you expect: > > >>> map(lambda x: x!=0, [0,0,0,0]) > [0, 0, 0, 0] Doh! should be filter() not map! Alan G.