File locking in Pythonwin?

Michael Appelmans mappel at 123ibm.net
Sun Mar 12 10:42:39 EST 2000


Is there a way I can use native file locking (byte range locking) on Win
platform? We have some C apps that update a file and I would like to use
Python to update the same file. To prevent contention I need to be able to
lock and unlock the queue control record (first 128 bytes of the file).

Thanks for any suggestions.

Michael Appelmans
// remove CAPS to mail
mappel at ZibmZ.net





More information about the Python-list mailing list