Re: [Tutor] display text in colors

2007-01-01 Thread LandSurveyor
ED] >>echo \[\e[31;1m\]"See if this goes to color red?"\[\e\0m\] -Original Message- >From: Luke Paireepinart <[EMAIL PROTECTED]> >Sent: Jan 1, 2007 2:55 PM >To: LandSurveyor <[EMAIL PROTECTED]> >Cc: tutor@python.org >Subject: Re: [Tutor] displa

Re: [Tutor] display text in colors

2007-01-01 Thread Luke Paireepinart
LandSurveyor wrote: > I would like to direct a python script to display 'print' strings in various > (chosen) colors; for example: > > print \ > """ > color this line blue # in the printout display-be it screen or hardcopy > color this line green # in the printout display-be it screen or hardco

[Tutor] display text in colors

2007-01-01 Thread LandSurveyor
I would like to direct a python script to display 'print' strings in various (chosen) colors; for example: print \ """ color this line blue # in the printout display-be it screen or hardcopy color this line green # in the printout display-be it screen or hardcopy """ what I tried doing was: im