Check if a file is closed

camillo at camillo at
Mon Jun 19 10:40:23 CEST 2006

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???


More information about the Python-list mailing list