python的list如何存入sqlite

2024-10-21 12:49:28

1、cursor.executemany("REPLACE INTO MD(INS, DAY, MIN, DATA) values(?, ?, ?, ?)", data) conn.commit()

python的list如何存入sqlite

2、这是我程序的片断

python的list如何存入sqlite

4、d = (ins, day, tp, md)

python的list如何存入sqlite

6、这样就可以把list的数据一次性写入了

python的list如何存入sqlite
猜你喜欢