file find module
Peter Hansen
peter at engcorp.com
Thu Sep 27 23:23:43 EDT 2001
mallum wrote:
>
> on Thu, Sep 27, 2001 at 08:30:54PM +0400, Oleg Broytmann wrote:
> > ...you can easily write your own using os.path.walk(), anf glob (or
> > fnmatch).
>
> aha ! This looks like just whats needed - thanks :)
Just be careful because glob.glob('*') will not return filenames
that start with a period, while glob.glob('.*') will return only
such filenames. You need both if you want all files.
--
----------------------
Peter Hansen, P.Eng.
peter at engcorp.com
More information about the Python-list
mailing list