Re: Move files/directories to Recycle Bin using standard Python libs

2007-08-15 Thread Chris Mellon
On 8/15/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > On Aug 15, 2:55 pm, Kevin D. Smith <[EMAIL PROTECTED]> wrote: > > On 2007-08-15 13:02:24 -0600, "Chris Mellon" <[EMAIL PROTECTED]> said: > > > > > Not easily. The recycle bin is part of the shell, and the shell api > > > calls have very com

Re: Move files/directories to Recycle Bin using standard Python libs

2007-08-15 Thread kyosohma
On Aug 15, 2:55 pm, Kevin D. Smith <[EMAIL PROTECTED]> wrote: > On 2007-08-15 13:02:24 -0600, "Chris Mellon" <[EMAIL PROTECTED]> said: > > > Not easily. The recycle bin is part of the shell, and the shell api > > calls have very complicated struct parameters that are cumbersome to > > use correctly

Re: Move files/directories to Recycle Bin using standard Python libs

2007-08-15 Thread Kevin D.Smith
On 2007-08-15 13:02:24 -0600, "Chris Mellon" <[EMAIL PROTECTED]> said: > Not easily. The recycle bin is part of the shell, and the shell api > calls have very complicated struct parameters that are cumbersome to > use correctly from ctypes. If you do the work to map the fileop > structs to ctypes y

Re: Move files/directories to Recycle Bin using standard Python libs

2007-08-15 Thread kyosohma
On Aug 15, 2:02 pm, "Chris Mellon" <[EMAIL PROTECTED]> wrote: > On 8/15/07, Kevin D.Smith <[EMAIL PROTECTED]> wrote: > > > I would like to move files and directories to the Recycle Bin on > > Windows from Python. I have found some older articles describing how > > to do this, but they require addi

Re: Move files/directories to Recycle Bin using standard Python libs

2007-08-15 Thread Thomas Heller
[EMAIL PROTECTED] schrieb: > On Aug 15, 11:39 am, Kevin D. Smith <[EMAIL PROTECTED]> wrote: >> I would like to move files and directories to the Recycle Bin on >> Windows from Python. I have found some older articles describing how >> to do this, but they require additional packages to be installe

Re: Move files/directories to Recycle Bin using standard Python libs

2007-08-15 Thread Chris Mellon
On 8/15/07, Kevin D.Smith <[EMAIL PROTECTED]> wrote: > I would like to move files and directories to the Recycle Bin on > Windows from Python. I have found some older articles describing how > to do this, but they require additional packages to be installed. I'm > working on a plugin for an exist

Re: Move files/directories to Recycle Bin using standard Python libs

2007-08-15 Thread kyosohma
On Aug 15, 11:39 am, Kevin D. Smith <[EMAIL PROTECTED]> wrote: > I would like to move files and directories to the Recycle Bin on > Windows from Python. I have found some older articles describing how > to do this, but they require additional packages to be installed. I'm > working on a plugin fo

Move files/directories to Recycle Bin using standard Python libs

2007-08-15 Thread Kevin D.Smith
I would like to move files and directories to the Recycle Bin on Windows from Python. I have found some older articles describing how to do this, but they require additional packages to be installed. I'm working on a plugin for an existing project and only have the standard library to work wi