title: how to insert variable into database with pyodbc?
body: <pre><code>highscore= score
  cursor.execute("insert into tble values (hscore) hishscore.getvalue"):
  </code></pre>
  
  <p>que: score will save into variable highscore. That highscore needs to save on to the database in the field hscore. What is the correct code for insertion and getting value.</p>