You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
204 B
13 lines
204 B
2 years ago
|
import sqlite3
|
||
|
from threading import Thread
|
||
|
|
||
|
conn = None
|
||
|
db = None
|
||
|
|
||
|
def __listener():
|
||
|
conn = sqlite3.connect("jeu.db")
|
||
|
db = conn.cursor()
|
||
|
|
||
|
def build_thread():
|
||
|
return Thread(target=__listener)
|