"filtered view" upon lists?

Wildemar Wildenburger wildemar at freakmail.de
Tue Sep 12 15:15:55 EDT 2006


bearophileHUGS at lycos.com wrote:
> Note that if you just have to scan the "view list", then you can use
> the lazy:
> 
> itertool.ifilter(predicate, iterable)

Yeah, had found that already; thanks anyway.
This function is actually the very reason I'm even asking this: 'If the 
std libs solve this problem for, maybe they solve the next one as well' 
I thought.
Well, can't always win, can you?

;)
wildemar



More information about the Python-list mailing list