Possible to open a file for shared write mode under Windows?

python at bdurham.com python at bdurham.com
Thu Mar 18 01:15:50 EDT 2010


Hi Gabriel,

> Using the pywin32 package at sourceforge, you have access to the CreateFile function:  
> http://msdn.microsoft.com/en-us/library/aa363858(v=VS.85).aspx
> You want dwShareMode=FILE_SHARE_WRITE

Thanks - that was exactly what I was looking for.

Regards,
Malcolm



More information about the Python-list mailing list