title: Python+MySQL - Bulk Insert
body: <p>I'm working with the MySQLdb module in Python to interact with a database. I have a situation where there is a very large list (tens of thousands of elements) which I need to insert as rows into a table.</p>
  
  <p>My solution right now is to generate a large <code>INSERT</code> statement as a string and execute it.</p>
  
  <p>Is there a smarter way?</p>