Colored text

ianaré ianare at
Mon Aug 13 08:30:17 CEST 2007

On Aug 13, 1:50 am, Rohan <vodela.... at> wrote:
> On Aug 12, 10:01 pm, ianaré <ian... at> wrote:
> > On Aug 12, 10:05 pm, Rohan <vodela.... at> wrote:
> > > Hello,
> > > Can some one tell me how do I get colored text. Say when I want to
> > > write something in a text file , how do I get it colored.
> > Plain text files don't have color. You could output in html ...
> Oh ok what about a csv file, I know its also a text file but I want
> the color to be say blue in an excel sheet.

CSV is also pretty much plain text. No support for formatting.

You will need to write xls files. Personaly, I avoid proprietary file
formats like the plague, but this may be what you're looking for:

More information about the Python-list mailing list