Here's my guess. OP is trying to implement locking in Python. OP sees that SQLite does locking and wants to copy code.
Obviously, that's beyond the range of this mailing list, but just to be helpful, here's some stackoverflow: <https://stackoverflow.com/questions/489861/locking-a-file-in-python#498505> Be sure to read all the way down the comments before you start copying code. _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users