I\'m having a problem executing some SQL from within Python, despite similar SQL working fine from the mysql command-line.
mysql
The table looks like this:
this works for me:
myTuple= tuple(myList) sql="select fooid from foo where bar in "+str(myTuple) cursor.execute(sql)