In article ,
Jean-Michel Pichavant wrote:
>Nobody wrote:
>> On Fri, 10 Jul 2009 09:23:54 +, garabik-news-2005-05 wrote:
>>
>>
> I would like to learn a way of changing the colour of a particular
> part of the output text. I've tried the following
>
On Unix operating systems t
On Wed, 15 Jul 2009 17:03:30 +0200, Jean-Michel Pichavant wrote:
>> Hard-coding control/escape sequences is just lame. Use the curses modules
>> to obtain the correct sequences for the terminal.
>>
>>
> As the OP I'm really interested in doing so. I currently have all my
> colors hard-coded.
>
Nobody wrote:
On Fri, 10 Jul 2009 09:23:54 +, garabik-news-2005-05 wrote:
I would like to learn a way of changing the colour of a particular
part of the output text. I've tried the following
On Unix operating systems this would be done through the curses interface:
http://docs
On Fri, 10 Jul 2009 09:23:54 +, garabik-news-2005-05 wrote:
>>> I would like to learn a way of changing the colour of a particular
>>> part of the output text. I've tried the following
>
>> On Unix operating systems this would be done through the curses interface:
>>
>> http://docs.python.or
On Fri, Jul 10, 2009 at 2:23 AM,
wrote:
> Tim Harig wrote:
>> On 2009-07-09, Alex Rosslyn wrote:
>>> I would like to learn a way of changing the colour of a particular
>>> part of the output text. I've tried the following
>
>> On Unix operating systems this would be done through the curses inter
On 2009-07-10, garabik-news-2005...@kassiopeia.juls.savba.sk
wrote:
> Tim Harig wrote:
>> On 2009-07-09, Alex Rosslyn wrote:
>>> I would like to learn a way of changing the colour of a particular
>>> part of the output text. I've tried the following
>> On Unix operating systems this would be do
Tim Harig wrote:
> On 2009-07-09, Alex Rosslyn wrote:
>> I would like to learn a way of changing the colour of a particular
>> part of the output text. I've tried the following
> On Unix operating systems this would be done through the curses interface:
>
> http://docs.python.org/library/curses
On 2009-07-09, Alex Rosslyn wrote:
> I would like to learn a way of changing the colour of a particular
> part of the output text. I've tried the following
http://catb.org/esr/faqs/smart-questions.html
> import os
> os.system("color 17")
> print "This should be white on blue"
I assume that you