msvcrt, open_osfhandle, locking
Jeff Kunce
kuncej at mail.conservation.state.mo.us
Fri Feb 25 13:03:40 EST 2000
> >Oops - meant "locking function in msvcrt module"
>
> Hmmm. Do you have an example? I can't get it to work.
A while back I wanted file locking with the same API
on both unix and NT. I worked up something based on
posixfile, that uses msvcrt on the NT side. I never used it
production, so handle with care, but it might give you
some ideas. See:
ntposixfile.py
at:
http://starship.python.net/crew/jjkunce/
--Jeff
More information about the Python-list
mailing list