This repository has been archived on 2021-09-15. You can view files and clone it, but cannot push or open issues or pull requests.
L3GestionParking/src/m/connexionBDD.py

12 lines
272 B
Python

import sqlite3
class connexionBDD:
def __init__(self):
self.chemin = "BDDprojetPython.sq3"
self.conn = sqlite3.connect(self.chemin)
self.cur = self.conn.cursor()
def seDeconnecter(self):
self.cur.close()
self.conn.close()