Recursive wildcard file search

Robert Dailey rcdailey at gmail.com
Thu Jul 3 16:53:37 EDT 2008


Hi,

Is there a way to perform a recursive file search using wildcards in python
3.0b1?

For example, if I have:

C:\foo\abc*xyz.*

I want all files in C:\foo and all subfolders (recursively) of C:\foo that
match the wildcard abc*xyz.* to be matched. In the end, I want a list of
files that matched the search, as well as the directory they're located in.

Help is appreciated. Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20080703/f6cc980b/attachment.html>


More information about the Python-list mailing list