title: Error binding parameter 0: probably unsupported type
body: <p>I can't seem to figure out what is wrong with my code, but I keep getting the:</p>
  
  <pre><code>error "binding parameter 0 - probably unsupported type". 
  </code></pre>
  
  <p>Here is my code: </p>
  
  <pre><code>last = 'EBERT'
  
  sakila = connect("sakila.db")
  res = sakila.execute("SELECT first_name, last_name FROM customer WHERE last_name = ?",[(last,)])
  
  for row in res:
      print(row)
  </code></pre>
  
  <p>When I have it where '<code>EBERT</code>' is in the query and not set to a variable, it works fine, so I know it's a problem with the tuple syntax or something. I've tried it without the brackets, with a second variable for <code>first_name</code>, with and without a separately defined cursor, and basically every method I can think of, and I've researched for hours but have gotten nowhere, so any help would be super appreciated.</p>