Especialized generator

Miki Tebeka miki.tebeka at zoran.com
Thu Mar 4 06:18:25 EST 2004


Hell Boogie,

> I want to write a generator that specializes on os.walk. It should yield only
> certain kinds of files.
> 
> What's the best way of doing this? How do you save the state on the base
> generator?
Using os.walk :-)

HTH.
Miki



More information about the Python-list mailing list