摘要: 批量插入数据,两种方法: execute() executemany() executemany()效率远远高于execute(),推荐使用executemany() 代码如下: 1 import MySQLdb 2 3 conn = MySQLdb.connect( 4 host='fjkdasj 阅读全文
posted @ 2020-04-06 11:36 小虫虫大虫虫 阅读(1329) 评论(0) 推荐(0)