>>> cur.execute("INSERT INTO foo VALUES (%s)","bar") # WRONG
>>> cur.execute("INSERT INTO foo VALUES (%s)",("bar")) # WRONG
>>> cur.execute("INSERT INTO foo VALUES (%s)",("bar",)) # correct
>>> cur.execute("INSERT INTO foo VALUES (%s)",["bar"]) # correct