Re: Colored text

2007-08-15 Thread Grant Edwards
On 2007-08-13, 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. The PyRTF module supports colored text, and RTF is portable (mostly). -- Grant Edwards grante

Re: Colored text

2007-08-13 Thread Rohan
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

Re: Colored text

2007-08-13 Thread Michael Bentley
On Aug 12, 2007, at 7:05 PM, Rohan wrote: 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. You can use ANSI escape codes -- http://en.wikipedia.org/wiki/ ANSI_escape_code: colorCodes = [ \033[0mAll attributes

Re: Colored text

2007-08-13 Thread ianaré
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

Re: Colored text

2007-08-13 Thread Neil Cerutti
On 2007-08-13, Michael Bentley [EMAIL PROTECTED] wrote: On Aug 12, 2007, at 7:05 PM, Rohan wrote: 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. You can use ANSI escape codes -- http://en.wikipedia.org/wiki

Re: Colored text

2007-08-13 Thread pyscottishguy
On Aug 13, 10:37 am, Neil Cerutti [EMAIL PROTECTED] wrote: On 2007-08-13, Michael Bentley [EMAIL PROTECTED] wrote: On Aug 12, 2007, at 7:05 PM, Rohan wrote: 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. You

Colored text

2007-08-12 Thread Rohan
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. -- http://mail.python.org/mailman/listinfo/python-list

Re: Colored text

2007-08-12 Thread ianaré
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 ... -- http://mail.python.org/mailman/listinfo