Report question

Question: How do you safely and efficiently get the row id after an insert with mysql using MySQLdb in python?