Hello All,

Is it possible to change text color on a WinXP system by just using the Ansi escape codes. I have tried, but it just shows the start and end text of the code, but it doesn't change the color.

I have tried placing the following before and aft the variable I wish to change:

print "\x1B[31;46m",variable,"[0m"
print "\033[31;46m",variable,"[0m"

In both cases no change has happened.
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to