On 03/05/2012 05:39 PM, Aaron Meurer wrote:
A little Googling let me to http://pypi.python.org/pypi/colorama,
which supposedly works in Windows.  Maybe you could see what they do.
The license is BSD, so if it's fairly complicated, you could just copy
the code.

Regardless, I would recommend adding in an option to not use any
colors, in case someone is in an environment where colors do not
render.  Otherwise, they will just see the literal ansi escape
sequences, which will just result in cluttered output.

Aaron Meurer

On Mon, Mar 5, 2012 at 2:33 PM, Alan Bromborsky<[email protected]>  wrote:
In my rewrite of GA I am using bold and colored text to make some output
clearer.  On linux and Mac this is trivial.  Does anyone know how to do this
on XP.  I can't get ansi.sys to work on the console in XP.

--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sympy?hl=en.

I found colorama also (after my email) and it works (no bold, but colors). I am setting up so that if you want to use colors you must execute an "enhanced_print()" command at the beginning of the users program.

--
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to