flock on windowsnt
Fredrik Lundh
effbot at telia.com
Sun May 28 08:33:58 EDT 2000
tkssato at yahoo.co.jp wrote:
> I want to use a function such as "flock()" on WindowsNT.
>
> On unix, it seems "fcntl" module is available.
>
> Is there any way on NT ?
import msvcrt
msvcrt.locking(fileno, mode, size)
for more info, see:
http://www.deja.com/=dnc/getdoc.xp?AN=589808979
</F>
<!-- (the eff-bot guide to) the standard python library:
http://www.pythonware.com/people/fredrik/librarybook.htm
-->
More information about the Python-list
mailing list