I've written a version of posixfile that implements
file locking for NT as well as UNIX. I realize that
the posixfile file locking API is deprecated, but it
seemed the simplest route for a transparent cross-platform
solution.
I haven't done extensive tests on this - it's more a
proposal or example than a solution. Use at your own risk.
ntposixfile.py at http://starship.python.net/~jjkunce/
--Jeff
file locking for NT as well as UNIX. I realize that
the posixfile file locking API is deprecated, but it
seemed the simplest route for a transparent cross-platform
solution.
I haven't done extensive tests on this - it's more a
proposal or example than a solution. Use at your own risk.
ntposixfile.py at http://starship.python.net/~jjkunce/
--Jeff