sql语句后加commit
conn.execute("insert into ....; commit")
转载于:https://www.cnblogs.com/chimmu/p/6212322.html