diff --git a/src/educoder/database/database.py b/src/educoder/database/database.py new file mode 100644 index 0000000..3318868 --- /dev/null +++ b/src/educoder/database/database.py @@ -0,0 +1,3 @@ +class Database(object): + def connection(self): + pass diff --git a/src/educoder/database/database_sqlite.py b/src/educoder/database/database_sqlite.py new file mode 100644 index 0000000..231b093 --- /dev/null +++ b/src/educoder/database/database_sqlite.py @@ -0,0 +1,10 @@ +import database +import sqlite3 + + +class DatabaseSQLite(database.Database): + conn = sqlite3.connect + + def connection(self): + self.conn = sqlite3.connect("../../../data/lib_manager.db") +