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

9 lines
286 B
Python
Raw Normal View History

2015-01-08 09:31:14 +00:00
import sqlite3
2015-01-10 15:11:11 +00:00
class connexionBDD:
2015-01-08 09:31:14 +00:00
def __init__(self):
2015-01-08 11:54:50 +00:00
self.chemin = "/Users/nadiel/SQLite/BDDprojetPython.sq3"
2015-01-08 09:31:14 +00:00
self.conn =sqlite3.connect(self.chemin)
self.cur =self.conn.cursor()
def seDeconnecter(self):
self.cur.close()
self.conn.close()