win32api.FindFiles

list = FindFiles(fileSpec)

Retrieves a list of matching filenames. An interface to the API FindFirstFile/FindNextFile/Find close functions.

Parameters

fileSpec : string

A string that specifies a valid directory or path and filename, which can contain wildcard characters (* and ?).

Win32 API References

Search for FindFirstFile at msdn, google or google groups.

Search for FindNextFile at msdn, google or google groups.

Search for FindClose at msdn, google or google groups.

Return Value

Returns a sequence of WIN32_FIND_DATA tuples