>
> BTW, you did not write which driver are you using.
Oh, you did. Sorry. :-( Import your DB module 'yourmodule' and then
print yourmodule.paramstyle
Description of paramstyle is also in PEP249:
paramstyle
String constant stating the type of parameter marker
formatting expected by the interface. Possible values are
[2]:
'qmark' Question mark style,
e.g. '...WHERE name=?'
'numeric' Numeric, positional style,
e.g. '...WHERE name=:1'
'named' Named style,
e.g. '...WHERE name=:name'
'format' ANSI C printf format codes,
e.g. '...WHERE name=%s'
'pyformat' Python extended format codes,
e.g. '...WHERE name=%(name)s'
Best,
Les
e.g. '...WHERE name=%(name)s'
--
http://mail.python.org/mailman/listinfo/python-list