title: Error when converting tuple to string in Python
body: <p>I have a tuple like this which is basically a DB record</p>
  
  <pre><code>record = ('R70:Congestion Ratio', 'pm_201204151900_KPI1.csv', 'pmexport_04_15_2012_20_00.tar.gz')
  </code></pre>
  
  <p>I am trying to convert it to tuple and then a string to get the query</p>
  
  <pre><code>"INSERT INTO PM_NEW_COUNTERS (COUNTER_NAME, CSV_FILE_NAME, TAR_FILE_NAME) VALUES %s" %(tuple(record))
  </code></pre>
  
  <p>However I am getting <code>TypeError: not all arguments converted during string formatting</code> What am I doing wrong ? Is there a better to achieve what I am trying to achieve ?</p>