How to write update query in MySQL in Python?

How to write update query in MySQL in Python?