📅  最后修改于: 2022-03-11 14:45:58.155000             🧑  作者: Mango
import os
db_filename = os.path.abspath('data.db')
connection_string = 'sqlite:' + db_filename
connection = connectionForURI(connection_string)
sqlhub.processConnection = connection