12 lines
282 B
Python
12 lines
282 B
Python
# Copyright 2021 (c) Anna Schumaker.
|
|
import lib
|
|
import sqlite3
|
|
|
|
File = lib.data.emmental_data / "emmental.sqlite"
|
|
|
|
Connection = sqlite3.connect(File, detect_types=sqlite3.PARSE_DECLTYPES)
|
|
Connection.row_factory = sqlite3.Row
|
|
|
|
commit = Connection.commit
|
|
execute = Connection.execute
|