pymysql mysql获取到新增数据的自增id

cur.lastrowid
原文地址:https://www.cnblogs.com/alecc1124/p/13279594.html