win32api.DragQueryFile
string/int = DragQueryFile(hDrop, fileNum )
Retrieves the file names of dropped files.
Parameters
Win32 API References
Return Value
If the fileNum parameter is 0xFFFFFFFF (the default) then the return value is an integer with the count of files dropped. If fileNum is between 0 and Count, the return value is a string containing the filename.If an error occurs, and exception is raised.