On Wed, 22 Feb 2006, Pat Martin wrote:
> I am trying to find on the web how to lock a file with python in Linux.
> I am trying to process a group of files that are continually being
> written to and when I am working on one file I would like to be able to
> lock it. Can anyone point me in the right direction for that.
Hi Pat,
Take a look at the 'portalocker' recipe in the Python Cookbook:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/65203
Does this address your question?
Good luck to you!
_______________________________________________
Tutor maillist - [email protected]
http://mail.python.org/mailman/listinfo/tutor