[EMAIL PROTECTED] | How to check if a file is closed? | | On Win32 you can call CreateFile with write and share write and if it | raises an error, the file is closed. | | How to do it in Python???
It's not clear whether you want a cross-platform Python-only solution. But if all you want is a way to use the Win32 CreateFile API in Python, then: http://aspn.activestate.com/ASPN/docs/ActivePython/2.4/pywin32/win32file __CreateFile_meth.html TJG ________________________________________________________________________ This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________ -- http://mail.python.org/mailman/listinfo/python-list