How to change colors of console window?

Bill Walker kwalker at earth1.net
Thu Jan 9 19:46:49 EST 2003


Can you give an example of using an escape sequence to change the DOS
windows to, say blue on white?


"Cousin Stanley" <CousinStanley at HotMail.com> wrote in message
news:avi1u6$g4ojc$1 at ID-130333.news.dfncis.de...
> || w98 console is annoying in other ways too, IIRC. I.e., you
> || have to load doskey to get line recall, and then that doesn't
> || get inherited when you run python in the console interactively?
>
> Bengt ...
>
> I'm using doskey and find it very useful
> and on this Win98 system it does NOT inherit into Python,
> which  IS  a problem ...
>
> As a result, I do little testing directly in interactive mode
> but make changes in a text editor and then run ...
>
> doskey does make switching back and forth
> between ... edit ... and ... python ... very easy
> after typing the lines the fist time ...
>
> I have managed to switch the DOS colors easily
> using ANSI Escape sequences with the ANSI.SYS driver,
> but I'm curious as how to do it with DOS/Win configurations ...
>
> Cousin Stanley
>
>
>
>
>
>
>
>




-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----==  Over 80,000 Newsgroups - 16 Different Servers! =-----




More information about the Python-list mailing list