Dapatkan baris yang terpengaruh MySQL Python

cursor.rowcount # would give you the rows affected
sandy_codes_py