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 can use ANSI escape codes --http://en.wikipedia.org/wiki/ > > ANSI_escape_code: > > Unfortunately, most versions of Windows of the last 7 years > (2000, XP, probably Vista) don't support ANSI escape codes well > enough to work with Python. > > -- > Neil Cerutti > We have to play hard for the full 40 minutes. 48? Oh, that's right. --Mikki > Moore
Check out these recipes: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/475116 http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/496901 -- http://mail.python.org/mailman/listinfo/python-list