https://catalogcasiokeyboardlk.blogspot.com/2023/06/sqlite3-context-manager-with-file.html
Sqlite3 Context Manager With File Locking In Python 2.7