Python Delete not working : <p><strong><em>I don't know Syntax Error. and if can't delete then rollback data.maybe you can advise me</em></strong></p>

<pre><code>#!/usr/bin/python
import mysql.connector

conn= mysql.connector.connect(host='localhost',user='user',passwd='pwd',db='dest')
cursor = conn.cursor()

sql =  "DELETE FROM dt WHERE user1 &gt; "%d" % (60)
try:
        try:
                cursor.execute(sql)
                conn.commit()
        except:
                conn.rollback()
except:
        print "Error connect"

if conn:
        conn.close()
</code></pre>
