File locking is impossible in Windows?

Fredrik Lundh fredrik at pythonware.com
Tue Dec 21 17:00:28 EST 2004


Pekka Niiranen wrote:

> Is there a way around this? How can I stop file being COPIED OVER while
> it is being open?

you could rename the file before you start updating it, and rename it back when
done.

</F> 






More information about the Python-list mailing list