<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Could you first find out if it exists with isfile(..) and then try to
open it? If it fails I <b class="moz-txt-star"><span
class="moz-txt-tag">*</span>think<span class="moz-txt-tag">*</span></b>
it would have to be open by another process.
<br>
-Rick King
<br>
Southfield MI
<br>
<br>
bvidinli wrote:
<blockquote
cite="mid:36e8a7020804100111u5647cf7cl44a3ebe5196e42c@mail.gmail.com"
type="cite">
<pre wrap="">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
</pre>
</blockquote>
</body>
</html>