On Aug 13, 1:50 am, Rohan <[EMAIL PROTECTED]> wrote: > On Aug 12, 10:01 pm, ianaré <[EMAIL PROTECTED]> wrote: > > > On Aug 12, 10:05 pm, Rohan <[EMAIL PROTECTED]> 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/
-- http://mail.python.org/mailman/listinfo/python-list