How to find out if another process is using a file

Amit Khemka khemkaamit at
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:


Amit Khemka --
Home Page:
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