delete will assure file is deleted?

Jeremy Bowers jerf at jerf.org
Tue Apr 26 23:53:13 EDT 2005


On Tue, 26 Apr 2005 21:24:06 -0500, Mike Meyer wrote:

> Jeremy Bowers <jerf at jerf.org> writes:
> 
>> On Tue, 26 Apr 2005 03:40:16 -0700, ajikoe at gmail.com wrote:
>> os.remove, as the module name implies, tells the OS to do something. I
>> would consider an OS that returned from a "remove" call, but still let you
>> access that file, highly broken. 
> 
> Um - not if you have permission to read the file, but don't have
> permission to remove it.

You snipped:

>> assuming the file is there, you have permissions, etc., basically that
>> the call succeeds,

First paragraph.




More information about the Python-list mailing list