title: Python - format and mapping a list with lambda - 'list' object has no attribute 'map'
body: <p>Trying to format list so i can execute it in a query but getting a 'list' object has no attribute 'map' and sure why?
  Using python 2.6
  The list has string of names.</p>
  
  <pre><code>params = ",".join(flagged_job_names.map(lambda x: "?"))
  
  cursor.execute(sql.format(params), flagged_job_names)
  </code></pre>