问题 :
"conn.cursor()" ProgrammingError: SQLite objects created in a thread can only be used in that same thread.
The object was created in thread id 5084 and this is thread id 4820
解决方式:
sqlite3.connect(fp,check_same_thread = False)
问题 :
"conn.cursor()" ProgrammingError: SQLite objects created in a thread can only be used in that same thread.
The object was created in thread id 5084 and this is thread id 4820
解决方式:
sqlite3.connect(fp,check_same_thread = False)