Occasional OSError: [Errno 13] Permission denied on Windows

Patrick Maupin pmaupin at gmail.com
Thu Jan 5 11:15:10 EST 2006

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, and is created by the python.exe invocation that is
> trying to delete it.  It can happen with various pieces of my
> system - almost anywhere I try to delete a file.

The previous company I worked for had a real-time virus scanner that
would cause problems like this.  Drove me nuts because I never could
get them to shut the dang thing off.


More information about the Python-list mailing list