Bernard Rankin wrote:
Hello,
What is the correct way to implement cross-platform "flock like" file locking?
Specifically, how would i acquire "exclusive read-write" and "shared read-only"
locks for a CGI script that I expect to run on both Windows and Linux servers.
Some other tutor may have a different answer. I propose you
open(filename, 'r') or open(filename, 'w').
--
Bob Gailer
Chapel Hill NC
919-636-4239
_______________________________________________
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor