Steven D'Aprano <steve+comp.lang.pyt...@pearwood.info> wrote: >I'd like to do a little survey, and get a quick show of hands. > >How many people have written GUI or text-based applications or scripts where >a "Move file to trash" function would be useful? > >Would you like to see that in the standard library, even if it meant that >the library had feature-freeze and could gain no more functionality?
It's bad enough when things are filesystem-dependent but this is OS-dependent or even desktop-version-dependent in the case of Linux distros, so not easy. E.g. in the case of KDE4, the command-line is: $ kioclient move <filename> trash:/ ...and for KDE3 it was: $ kfmclient move <filename> trash:/ -- https://mail.python.org/mailman/listinfo/python-list