Recursive wildcard file search

Simon Brunning simon at brunningonline.net
Sun Jul 6 15:12:32 CEST 2008


2008/7/4 Gerhard Häring <gh at ghaering.de>:
> Robert Dailey wrote:
>> Is there a way to perform a recursive file search using wildcards in
>> python 3.0b1? [...]
>
> glob.glob() or glob.iglob().

glob's not recursive AFAIK. This recipe probably still works under
Pythion 3K, though:

<http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/499305>

-- 
Cheers,
Simon B.
simon at brunningonline.net
http://www.brunningonline.net/simon/blog/
GTalk: simon.brunning | MSN: small_values | Yahoo: smallvalues | Twitter: brunns



More information about the Python-list mailing list