Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.python
Re: Possible to open a file for shared write mode under Windows?
Gabriel Genellina
3/18/2010 4:21:00 AM
En Wed, 17 Mar 2010 23:42:46 -0300, <python@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/librar...
(v=VS.85).aspx
You want dwShareMode=FILE_SHARE_WRITE
--
Gabriel Genellina
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Re: Possible to open a file for shared write mode under Windows?
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password