Python MySQL Search

name="Anup"
self.cursor.execute("SELECT * from user_data WHERE Name = %s", (name,))
Long Locust