Could you first find out if it exists with isfile(..) and then try to
open it? If it fails I *think*
it would have to be open by another process.
-Rick King Southfield MI bvidinli wrote: i started python programming a few months ago. now i need the code to understand if a file already opened in filesystem by another process ?i looked at docs, howtos, but did not find related info. note that normal file open/write operations in python, i know it. i specificly need to know that "is a file already open by some other process other than python". Thank you in advance |
-- http://mail.python.org/mailman/listinfo/python-list