Product Documentation

ActivePython 2.4 Documentation

win32file.FindFilesIterator

iterator = FindFilesIterator(filespec)

Returns an interator based on FindFirstFile/FindNextFile. Similar to win32file::FindFiles , but avoids the creation of the list for huge directories

Parameters

filespec : unicode

Return Value

The result is a Python iterator, with each next() method returning a WIN32_FIND_DATA tuple.