01 2017 档案
摘要:lst = ['DTS2323','DTS2343','DTS123']con = sqlite3.connect(db)sql1 = ' delete from alpm_dtsinfo where rowid not in(select max(rowid) from alpm_dtsinfo
阅读全文
摘要:def dictfetchall(cursor): "将游标返回的结果保存到一个字典对象中" desc = cursor.description return [ dict(zip([col[0] for col in desc], row)) for row in cursor.fetchall(
阅读全文