Another MySQL Problem

Victor Subervi victorsubervi at gmail.com
Wed Jun 23 14:20:50 EDT 2010


On Wed, Jun 23, 2010 at 12:51 PM, Stephen Hansen <ixokai at ixokai.io> wrote:

> The problem is not this line but:
>
>
>   File "/var/www/html/globalsolutionsgroup.vi/mailSpreadsheet.py", line
> 38, in mailSpreadsheet
>     cursor.execute('select * from %s', (client,))
>
>
> This one.
>

Yes, can't use the comma, must use the percent. Will be the death of me.
Thanks,
beno
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20100623/f895eab2/attachment-0001.html>


More information about the Python-list mailing list