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
278 B

import sqlite3
class BaseDeDonnee:
def __init__(self):
self.con = sqlite3.cursor("table_personnages.db")
self.cur = self.con.cursor()
self.cur.execute("CREATE TABLE persos (nom)")
self.con.commit()
self.con.close()