On Thursday 23 September 2010, it occurred to loial to exclaim:
> How can I check whether a file is being written to by another process
> before I access it?
> 
> Platform is unix.

As such, you can't. But you can lock the file using the functions in the fcntl 
module.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to