Obtener filas afectadas mysql python
cursor.rowcount # would give you the rows affected
sandy_codes_py
cursor.rowcount # would give you the rows affected