[wxPython] Post again: how to format the output to a wxTextCt rl?

Yes, it is faster than mine. Thank you for your help.

Jenny

···

From: "Echeverria Rabi, Cristian Rodrigo, TRANSELEC S.A." <cer@transelec.cl>
To: wxpython-users@lists.wxwindows.org
CC: jennyqliu@hotmail.com
Subject: RE: [wxPython] Post again: how to format the output to a wxTextCt rl?
Date: Thu, 5 Jul 2001 13:37:04 -0400

I think this is a fast way to generate the html code

for list in record:
    lin = "<tr><td>%s %s %s</td><td>%s</td><td>%s</td></tr>" % tuple(list)
     text = text + lin
text = text + "</table></html>"

> -----Original Message-----
> From: qun liu [SMTP:jennyqliu@hotmail.com]
> Sent: Thursday, July 05, 2001 12:52 PM
> To: wxpython-users@lists.wxwindows.org
> Subject: Re: [wxPython] Post again: how to format the output to a
> wxTextCtrl?
>
> The code works, but very slow.:< I am glad it's not a large datasheet.

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com