[Python-ideas] Adding `pathlib.Path` method that would send file to recycle bin
Chris Angelico
rosuav at gmail.com
Sat Jan 3 09:10:55 CET 2015
On Sat, Jan 3, 2015 at 7:07 PM, Mark Lawrence <breamoreboy at yahoo.co.uk> wrote:
> On 03/01/2015 02:18, Chris Angelico wrote:
>>
>> On Sat, Jan 3, 2015 at 12:50 PM, Steven D'Aprano <steve at pearwood.info>
>> wrote:
>>>
>>> Otherwise, consider that the great bulk of scripts that are written in
>>> Python don't do any file management at all, other than perhaps reading
>>> or writing a few files. So even if Python gained this functionality, it
>>> wouldn't have any impact on most scripts and applications.[1]
>>
>>
>> I've always thought of a trash can as an inherently human-controlled
>> feature.
>
> As, for example, holding down the SHIFT key on Windows and skipping the
> recycle bin completely?
That's a human deciding _not_ to use it; but yes, it should be under
human control.
ChrisA
More information about the Python-ideas
mailing list