title: INSERT tuple into table - psycopg2
body: <p>I'm trying to figure out how is it possible to insert a tuple of values into a predefined table without the need of the trivial syntax like :</p>
  
  <pre><code>cur.execute("INSERT INTO test (num, data) VALUES (%s, %s)",
  ...      (100, "abc'def"))
  </code></pre>
  
  <p>since i have the tuple with the correct sequence of values like below :</p>
  
  <pre><code>my_tuple = ('D', 'Z107383320', '99501', '995013688', None, '36', '88', '36', '88', 'A', 'F', 'C083', '', 'BARROW', 'ST', '', '0000000605', '0000000605', 'O', 'DOCTORS COLLECTIONS SVC', 'STE', '00000001', '00000001', 'O', 'B', '', '', '020312', 'AK', '020', 'AL', '', '', 'Z10014', 'zip4mst9')
  </code></pre>
  
  <p>i was wondering for some easy solution :-) like :</p>
  
  <pre><code>cur.execute("INSERT INTO test (*) VALUES (*)",
      ...      (my_tuple))
  </code></pre>
  
  <p>Since i have the table schema created and tuple has the same sequence of attributes i suppose this is something possible to do without the hassle of passing all the arguments one by one to cur.execute()</p>