On Apr 10, 2:19 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
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
On Apr 10, 4:49 am, Georg Brandl <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] schrieb:
>
>
>
> > It's the strangest thing, I'm pulling some text out of a MySQL table
> > and trying to run exec on it, and it keeps giving me a syntax error,
> > always at the end of the first line.
>
> > Thanks in
[EMAIL PROTECTED] schrieb:
> It's the strangest thing, I'm pulling some text out of a MySQL table
> and trying to run exec on it, and it keeps giving me a syntax error,
> always at the end of the first line.
>
> Thanks in advance for any help. I'm really stuck on this one!
>
> -Greg
>
> I'm no
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> To really get a picture of what is coming out of the DB I had the
> program print out everything about this string using this code:
> print code
> print repr(code)
> print type(code)
> for char in code:
> print ord(char),char