[Tutor] Locking files on windows

Mike Wagman mwagman@charter.net
Thu Jul 17 13:35:02 2003


I need to lock files under windows using python.

I've run into references to portalocker but can't find it.

So can someone point me to it, and let me know if that is the best way
to lock files. There is a chance that this will get run under linux so
if there is a multiplatform locker that would be ideal (if portalocker
is not one).

Other wise locking files under window. I have looked as msvcrt and could
use an example of how to use that in a practical application.