Colored text

ianaré ianare at gmail.com
Mon Aug 13 02:30:17 EDT 2007


On Aug 13, 1:50 am, Rohan <vodela.... at gmail.com> wrote:
> On Aug 12, 10:01 pm, ianaré <ian... at gmail.com> wrote:
>
> > On Aug 12, 10:05 pm, Rohan <vodela.... at gmail.com> 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:

http://www.answermysearches.com/index.php/generate-an-excel-formatted-file-right-in-python/122/




More information about the Python-list mailing list