flock on windowsnt

Mark Hammond mhammond at skippinet.com.au
Wed May 24 20:37:21 EDT 2000


"Lyle Johnson" <jlj at cfdrc.com> wrote in message
news:392BE285.BF287B56 at cfdrc.com...
> There is a function _locking() which I haven't used, but which sounds
> like it does the same thing as flock() under Unix. The prototype is:
>
> _locking(int handle, int mode, long nbytes)
>
> Look it up in the MSDN documentation for more details. It does not
> appear to have been wrapped into any of the standard Python modules (at
> least not for Python 1.5.2).

Actually, you will find it in the builtin msvcrt module...

Mark.






More information about the Python-list mailing list