WinNT: Delete to recycle bin?

Ben Hutchings ben.hutchings at roundpoint.com
Thu Jun 28 15:55:31 EDT 2001


"John Hoerr" <jhoerr at resnet.gatech.edu> writes:

> hi!
> i'm relatively new to python and am wondering if there's a way to remove
> files to the windows recycle bin instead of deleting them outright.
> 
> google searches of the web and this newsgroup didn't turn up much, but i'm
> hoping i missed something?

The Windows function to do this is SHFileOperation.  As far as I can
see, there is currently no Python wrapper for this.



More information about the Python-list mailing list