title: TypeError: 'str' object is not callable (mysql-python)
body: <p>I am coding with mysql-python. </p>
  
  <p>To add a new record into database, I use the following piece of code:</p>
  
  <pre><code># Open database connection
  db = MySQLdb.connect("localhost","root","admin","majoranalysis" )
  # prepare a cursor object using cursor() method 
  cursor = db.cursor()    
  sql = "INSERT INTO 
  # insert a record
  jobdetail(title,date_accessed,description,requirement,url) \
      VALUES(%(title)s,%(data_accessed)s,%(description)s,%(requirement)s,%(url)s)"
  dt =  ('data analysist',date(2015,4,16),'description','requirement',joblistlink[0])
  cursor.execute(sql,dt)
  </code></pre>
  
  <p>The problem is not to declare <code>str</code>, but the error occurs likely:</p>
  
  <pre><code>Traceback (most recent call last):
  File "./re-ex.py", line 81, in &lt;module&gt;
  dt =  ('data analysist',date(2015,4,16),'description','requirement',joblistlink[0])
  TypeError: 'str' object is not callable
  </code></pre>
  
  <p>The sql command to create the table is:</p>
  
  <pre><code>CREATE TABLE IF NOT EXISTS `jobdetail` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` varchar(225) COLLATE utf8_unicode_ci NOT NULL,
  `date_accessed` date NOT NULL,
  `description` text COLLATE utf8_unicode_ci NOT NULL,
  `requirement` text COLLATE utf8_unicode_ci NOT NULL,
  `url` varchar(225) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`)) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1 ;
  </code></pre>
  
  <p>Do you know where is the bug?</p>