Commit 6216dc33 authored by litaolemo's avatar litaolemo

update

parent 1ecf0461
......@@ -72,10 +72,10 @@ if __name__ == "__main__":
print(insert_sql)
if count % 100 == 0:
# cursor.execute("set names 'UTF8'")
res = cursor.executmany(insert_sql)
res = cursor.executemany(insert_sql)
db.commit()
# print(res)
insert_sql_all = ""
res = cursor.executmany(insert_sql_all)
res = cursor.executemany(insert_sql_all)
db.commit()
print(res)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment