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'
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