storing binary files to mySQL ???

Fredrik Lundh fredrik at pythonware.com
Tue Dec 17 12:15:44 EST 2002


Gerhard Häring wrote:

> > I'm pretty sure there's a better way,
>
> The better way is to let the DB-API 2.0 module handle the quoting for
> you:

the original poster tried that, and got weird errors in return.

reading his post again, I now see that he used ('%s', '%?') instead
of (%s, %s).  guess it's time to switch to a larger font.

</F>





More information about the Python-list mailing list