CR LF

Katja Kimppa kkimppa at no.spam.btk.utu.fi
Mon Sep 4 12:24:07 CEST 2000


>

Hi!
You also could print out preformatted text with the <pre>-tag.

>
> >>> string.replace(dbresult, "\n", "<BR>\n")
> 'This string wraps onto 3 lines<BR>\012Line2<BR>\012Line3<BR>\012'
>
> regards
>  Steve
>
> --
> Helping people meet their information needs with training and technology.
> 703 967 0887      sholden at bellatlantic.net      http://www.holdenweb.com/




More information about the Python-list mailing list