exec statement Syntax Error on string pulled from MySQL

gregpinero at gmail.com gregpinero at gmail.com
Tue Apr 10 14:48:03 EDT 2007


On Apr 10, 2:19 pm, "gregpin... at gmail.com" <gregpin... at gmail.com>
wrote:
> Now I just have to figure out how the '\r' are getting in
> there.  I entered that piece of code using PHPMyAdmin so that could be
> doing it, or MySQLdb could be doing it when returning it, or it could
> be something about the DB encoding!  I'll post back if I find out.
>

Hmm, searches didn't turn up anything.  The best I can figure is that
the HTML textarea / browser combination is sending the text in that
way.  I can check for sure on that later.

-Greg





More information about the Python-list mailing list