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.

12 lines
204 B

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)