os.open and O_EXCL
Ethan Furman
efurman at admailinc.com
Thu May 1 14:24:25 EDT 2008
Greetings!
I am trying to lock a file so no other process can get read nor write
access to it. I thought this was possible with os.open(filename,
os.O_EXCL), but that is not working. I am aware of the win32file option
to do file locking, so my question is this: what is the purpose of the
os.O_EXCL flag?
Thanks for any help.
--
Ethan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20080501/f6c7111c/attachment.html>
More information about the Python-list
mailing list