Using SHFileOperation

avishay avishorp at yahoo.com
Wed Jul 20 03:03:33 EDT 2005


Hi All,
I want to use SHFileOperation using Python and Win32 extentions, in
order to move a file to the trash can. The function itself can be
accessed by importing win32com.shell.shell. However, I cannot find
anywhere the SHFILEOPSTRUCT. This structure is mentioned in the
documentation of the Win32 extentions, but I can't find a way to access
it.
I would appreciate your help. If there's an alternative way to send a
file to the trash can, that can also help.

Best Regards
Avishay




More information about the Python-list mailing list