En Sun, 29 Apr 2007 17:13:42 -0300, <[EMAIL PROTECTED]> escribió: > On Apr 29, 2:12 pm, [EMAIL PROTECTED] wrote: >> I'm trying to be safe and make sure only one python instance opens the >> shelf. Any ideas? > Using Windows.
Use the locking function in the msvcrt module to lock/unlock the file. Locking just the first byte is enough. -- Gabriel Genellina -- http://mail.python.org/mailman/listinfo/python-list