On Jul 8, 4:57 am, Lawrence D'Oliveiro <l...@geek-
central.gen.new_zealand> wrote:
> In message <mailman.2795.1246997268.8015.python-l...@python.org>, Christian
>
> Heimes wrote:
> > By the way most operating systems don't lock a file when it's opened for
> > reading or writing or even executed.
>
> The general conclusion seems to be that mandatory locking is more trouble
> than it's worth.

My OS is a windows XP sp3. All I'm trying to achieve is to close an
application ( which could be a notepad, a wordpad or some other text
editor) that have opened my file. Once the file is closed I can easily
delete that file.

I guess, if file is opened by one of that application, the file must
be locked and so is the reason I cannot delete the file.

Please suggest if this is fine.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to