Alec Wysoker wrote:
>>>Using Python 2.3.5 on Windows XP, I occasionally get OSError: [Errno
>>>13] Permission denied when calling os.remove().  This can occur with a
>>>file that is not used by any other process on the machine,
>>
>>How do you know that?
> 
> 
> Yeah, good point.  I don't really know.  I should have said no process
> that I am aware of is using the file.  I'll give sleep a try instead of
> gc.  Thanks.

FWIW, you could use Filemon from Sysinternals, 
http://www.sysinternals.com/Utilities/Filemon.html

If you are there, be sure to also look the other stuff on that side, 
Mark Russinovich a has written a lot of very nice Windows utilities.




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

Reply via email to