* i do not want to prevent other process access same file, i only want if a file being used as i acess it.
* i am not interested if a process will access same file just after i access it... because in my case, this is not possible.. * i want some other way, other than linux lsof command. it is slow for me. is there a native python way, ? thanks. 2008/4/10, Diez B. Roggisch <[EMAIL PROTECTED]>: > bvidinli wrote: > > > this is for ensuring that file is not in use, ... > > by any process in system.... > > > How do you prevent the other processes that *might* access that file from > doing so while *you* work on it? unless they cooperate using file-locks, > you might end up with garbage. > > Diez > > -- > http://mail.python.org/mailman/listinfo/python-list -- İ.Bahattin Vidinli Elk-Elektronik Müh. ------------------- iletisim bilgileri (Tercih sirasina gore): skype: bvidinli (sesli gorusme icin, www.skype.com) msn: [EMAIL PROTECTED] yahoo: bvidinli +90.532.7990607 +90.505.5667711 -- http://mail.python.org/mailman/listinfo/python-list