faire affecter les lignes MySql Python

cursor.rowcount # would give you the rows affected
sandy_codes_py