get rows affected mysql python
cursor.rowcount # would give you the rows affected
Source: stackoverflow.com
get row affected mysql
SELECT ROW_COUNT() AS 'Affected rows';
cursor.rowcount # would give you the rows affected
SELECT ROW_COUNT() AS 'Affected rows';