2017年6月28日

python连接数据库查询

摘要: import sqlite3 as db conn = db.connect(r'D:/data/test.db') print ('Opend database successfully \n') #conn.row_factory = db.Row cursor = conn.cursor() results = cursor.execute("select * from Meter") ... 阅读全文

posted @ 2017-06-28 17:33 Zing_Z 阅读(165) 评论(0) 推荐(0)

导航