waling a directory with very many files

Tim Golden mail at timgolden.me.uk
Sun Jun 14 15:21:51 EDT 2009


tom wrote:
> On Jun 14, 1:35 pm, Tim Golden <m... at timgolden.me.uk> wrote:
>> If you're on Windows, you can use the win32file.FindFilesIterator
>> function from the pywin32 package. (Which wraps the Win32 API
>> FindFirstFile / FindNextFile pattern).
> 
> thanks, tim.
> 
> however, i'm not using windows. freebsd and os x.

Presumably, if Perl etc. can do it then it should be simple
enough to drop into ctypes and call the same library code, no?
(I'm not a BSD / OS X person, I'm afraid, so perhaps this isn't
so easy...)

TJG



More information about the Python-list mailing list