📜  python sqlobject 声明连接 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:58.155000             🧑  作者: Mango

代码示例1
import os
db_filename = os.path.abspath('data.db')
connection_string = 'sqlite:' + db_filename
connection = connectionForURI(connection_string)
sqlhub.processConnection = connection