title: Python SQLite near "?": syntax error
body: <p>Another one of those questions. I'm trying to do:</p>
  
  <pre><code>self.table = 'table'
  a = 'column'
  b = 'value'
  
  c.execute('INSERT INTO ? (?) VALUES (?)', (self.table, a, b))
  </code></pre>
  
  <p>But I'm getting</p>
  
  <pre><code>&lt;class 'sqlite3.OperationalError'&gt;:near "?": syntax error
  </code></pre>
  
  <p>At the same time,</p>
  
  <pre><code>c.execute('INSERT INTO {0} ({1}) VALUES ({2})'.format(self.table, a, b))
  </code></pre>
  
  <p>Works flawlessly, except for the security concerns.</p>
  
  <p>I realize I'm not the first one to have this issue, but I have yet to find a solution that works for me.</p>