MySQLdb question

Michał Kurowski mkur at
Thu Jun 20 14:35:19 CEST 2002


I'm working on a small project involving sql (MySQLdb-0.9.1) and I constantly have to
"get around" a  quite weird problem:

I cannot find a way to pass a sql statement a table as a parameter.

In Zope you can do something like:
"select * from <dtml-var table> where <dtml-sqlvar ... >"

And what about pure MySQLdb ?
Quotes are getting in the way and the client just breaks.

Thanks for your help.

Michal Kurowski
<michal at>

More information about the Python-list mailing list