title: TypeError: Not enough arguments for format string
body: <p>I have code:</p>
  
  <pre><code>with open('D:\\Downloads\\Train_rev1.csv', 'rb') as csv_file:
      data = csv.reader(csv_file, delimiter=',')
      data.next()
      records = ",".join('({}, {})'.format(row[0], row[1]) for row in data)
  print 'inserting records into {} ...'.format('train_rev1')
  result = conn.execute("INSERT INTO train_rev1 (id, title) VALUES {}".format(records))
  print 'Records inserted into {} {}'.format('train_rev1', 'successful' if result else 'unsuccessful')
  </code></pre>
  
  <p>and I got </p>
  
  <pre><code>&gt; inserting records into train_rev1 ... Traceback (most recent call
  &gt; last):   File "I:\test\IceSugar\test.py", line 81, in &lt;module&gt;
  &gt;     insert_trainRev1Records(conn)   File "I:\test\IceSugar\test.py", line 54, in insert_trainRev1Records
  &gt;     result = conn.execute("INSERT INTO train_rev1 (id, title) VALUES {}".format(records))   File
  &gt; "C:\Python27\lib\site-packages\sqlalchemy-0.7.9-py2.7.egg\sqlalchemy\engine\base.py",
  &gt; line 1449, in execute
  &gt;     params)   File "C:\Python27\lib\site-packages\sqlalchemy-0.7.9-py2.7.egg\sqlalchemy\engine\base.py",
  &gt; line 1628, in _execute_text
  &gt;     statement, parameters   File "C:\Python27\lib\site-packages\sqlalchemy-0.7.9-py2.7.egg\sqlalchemy\engine\base.py",
  &gt; line 1691, in _execute_context
  &gt;     context)   File "C:\Python27\lib\site-packages\sqlalchemy-0.7.9-py2.7.egg\sqlalchemy\engine\default.py",
  &gt; line 331, in do_execute
  &gt;     cursor.execute(statement, parameters)   File "C:\Python27\lib\site-packages\mysql_python-1.2.4c1-py2.7-win32.egg\MySQLdb\cursors.py",
  &gt; line 183, in execute
  &gt;     query = query % db.literal(args) TypeError: not enough arguments for format string
  </code></pre>
  
  <p>I have no idea, what is wrong?</p>