Re: [Tutor] MySQLdb: cant get '... where field in %s' to work for string sequences

2006-06-23 Thread Matt Richardson
On 6/22/06, Justin Ezequiel <[EMAIL PROTECTED]> wrote: > how can I get 'select ... from ... where field in %s' to work for > sequences of strings? > sequences of integers works just fine > > import MySQLdb > > DBCRED = {'host': 'localhost', 'user': 'userjustin', > 'passwd': 'passwdjustin'

[Tutor] MySQLdb: cant get '... where field in %s' to work for string sequences

2006-06-22 Thread Justin Ezequiel
how can I get 'select ... from ... where field in %s' to work for sequences of strings? sequences of integers works just fine import MySQLdb DBCRED = {'host': 'localhost', 'user': 'userjustin', 'passwd': 'passwdjustin', 'db': 'dbjustin'} ARTICLES = ('XXX9', 'ABZ2') PIDS = (2937