title: python mysqldb delete row
body: <p>for some reason, this is bombing out:</p>
  
  <pre><code>print tbl,record
  statmt="DELETE FROM '%s' WHERE email LIKE '%s'" %(tbl,record)
  print statmt
  self.cursor.execute(statmt)
  </code></pre>
  
  <p>error:</p>
  
  <pre><code>maillist_frogs test@testovich.com
  DELETE FROM 'maillist_frogs' WHERE email LIKE 'test@testovich.com'
  Traceback (most recent call last):
    File "./compare.py", line 123, in &lt;module&gt;
      main()
    File "./compare.py", line 117, in main
      remove_mailgust = sql_mailgust.removeRow ("maillist_frogs",x)
    File "./compare.py", line 81, in removeRow
      self.cursor.execute(statmt)
    File "build/bdist.macosx-10.6-intel/egg/MySQLdb/cursors.py", line 174, in execute
    File "build/bdist.macosx-10.6-intel/egg/MySQLdb/connections.py", line 36, in defaulterrorhandler
  _mysql_exceptions.ProgrammingError: (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''maillist_frogs' WHERE email LIKE 'test@testovich.com'' at line 1")
  </code></pre>
  
  <p>Thanks!! :)</p>