python win32com shell.SHFileOperation - any way to get the files that were actually deleted?
- 阅读更多 关于 python win32com shell.SHFileOperation - any way to get the files that were actually deleted?
问题 In the code I maintain I run across: from win32com.shell import shell, shellcon # ... result,nAborted,mapping = shell.SHFileOperation( (parent,operation,source,target,flags,None,None)) In Python27\Lib\site-packages\win32comext\shell\ (note win32comext) I just have a shell.pyd binary. What is the return value of shell.SHFileOperation for a deletion ( operation=FO_DELETE in the call above) ? Where is the code for the shell.pyd ? Can I get the list of files actually deleted from this return