Survey -- Move To Trash function in Python?

Grant Edwards invalid at invalid.invalid
Thu May 14 11:49:52 EDT 2015


On 2015-05-14, Steven D'Aprano <steve+comp.lang.python at 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?

How would you even define what "move to trash" means in a standard
way?

Even withing the limited context of something like a mail client, it's
meaning varies depending on mail store format or which IMAP server
you're talking to.

Or are you assuming the only thing that can be "moved to trash" is a
file?

> 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?

-- 
Grant Edwards               grant.b.edwards        Yow! I'm having fun
                                  at               HITCHHIKING to CINCINNATI
                              gmail.com            or FAR ROCKAWAY!!



More information about the Python-list mailing list