title: Searching SQLite Database with Python Variables
body: <p>I have a SQLite database that I'd like to search using Python variables as in:</p>
  
  <pre><code>cur.execute("SELECT * FROM list WHERE InstitutionName=Variable")
  </code></pre>
  
  <p>Ideally this would allow me to return each row as a list to a larger list that contains all the rows a user is searching for. I realize what I have above is pseudocode. How could I actually write it?</p>