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

Chris Colbert sccolbert at gmail.com
Thu Mar 18 00:38:56 EDT 2010


you could also just have one process do the writing for both processes via
pipes.

On Thu, Mar 18, 2010 at 12:20 AM, Gabriel Genellina
<gagsl-py2 at yahoo.com.ar>wrote:

> En Wed, 17 Mar 2010 23:42:46 -0300, <python at bdurham.com> escribió:
>
>
>  Is there a way to open a file for shared write mode under
>> Windows?
>>
>> I have 2 processes that will write to different regions of this
>> shared file.
>>
>
> 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
>
> --
> Gabriel Genellina
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20100318/74c05ed6/attachment-0001.html>


More information about the Python-list mailing list