Colour of output text
Alex Rosslyn
black.linen99 at gmail.com
Thu Jul 9 13:46:47 EDT 2009
Hi,
I would like to learn a way of changing the colour of a particular
part of the output text. I've tried the following:
import os
os.system("color 17")
print "This should be white on blue"
But that command changes the colour of ALL the text and the whole
background. What i'm trying to do is simple: Change a single part (A
letter, a word, a phrase) of the output text.
Is there a way of doing this?
Thanks in advance,
~~A.Rosslyn
More information about the Python-list
mailing list