Re: Open file handles?

2006-08-16 Thread Hari Sekhon
danielx wrote: Is there an equivalent in windows? Jon wrote: Perhaps using os you could work with lsof [http://www.linuxcommand.org/man_pages/lsof8.html] Jon Thomas Bartkus wrote: This may be more of a Linux question, but I'm doing this from Python. . How

Re: Open file handles?

2006-08-09 Thread Thomas Bartkus
Jon [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Perhaps using os you could work with lsof [http://www.linuxcommand.org/man_pages/lsof8.html] Jon Of course! That's perfect. Thank you! How silly of me not to have noticed that lsof means ListOpenFiles ;-) Thomas Bartkus --

Re: Open file handles?

2006-08-09 Thread danielx
Is there an equivalent in windows? Jon wrote: Perhaps using os you could work with lsof [http://www.linuxcommand.org/man_pages/lsof8.html] Jon Thomas Bartkus wrote: This may be more of a Linux question, but I'm doing this from Python. . How can I know if anything (I don't care who

Open file handles?

2006-08-08 Thread Thomas Bartkus
This may be more of a Linux question, but I'm doing this from Python. . How can I know if anything (I don't care who or what!) is in the middle of using a particular file? This comes in context of needing to copy a file BUT only if I can verify that something else doesn't have an open write

Re: Open file handles?

2006-08-08 Thread Jon
Perhaps using os you could work with lsof [http://www.linuxcommand.org/man_pages/lsof8.html] Jon Thomas Bartkus wrote: This may be more of a Linux question, but I'm doing this from Python. . How can I know if anything (I don't care who or what!) is in the middle of using a particular