How to find out if another process is using a file

Amit Khemka khemkaamit at gmail.com
Fri Jan 19 14:41:04 CET 2007


>
> Yes, that would work very neatly but I don't have any control over the
> writing process.  I think the modification time route might be the best
> option, but thanks to all for their replies.

Its not pythonic, but may be "lsof" on POSIX can be helpful:
see: http://www.physiol.ox.ac.uk/Computing/Online_Documentation/lsof-quickstart.txt


cheers,

-- 
----
Amit Khemka -- onyomo.com
Home Page: www.cse.iitd.ernet.in/~csd00377
Endless the world's turn, endless the sun's Spinning, Endless the quest;
I turn again, back to my own beginning, And here, find rest.



More information about the Python-list mailing list