On 3 September 2010 01:17, Alexander Belchenko <email address hidden> wrote:
> The question is: do we have a cross-platform way to delete file into
> Recycle Bin via Qt/PyQt or Linux/MaxOSX have no idea of trash folder?
> That said I can find a way to delete to Recycle Bin on Windows using
> Win32 API, but I don't know how to do it on other OSes.
On Linux and Mac OS X there are standard directories you can move
things in to, eg ~/.local/shared/trash (I think) on Linux. I don't
know if there is a Python API to tell you the location, or to handle
things not on the home filesystem.
On 3 September 2010 01:17, Alexander Belchenko <email address hidden> wrote:
> The question is: do we have a cross-platform way to delete file into
> Recycle Bin via Qt/PyQt or Linux/MaxOSX have no idea of trash folder?
> That said I can find a way to delete to Recycle Bin on Windows using
> Win32 API, but I don't know how to do it on other OSes.
On Linux and Mac OS X there are standard directories you can move shared/ trash (I think) on Linux. I don't
things in to, eg ~/.local/
know if there is a Python API to tell you the location, or to handle
things not on the home filesystem.
--
Martin