how could change backcolor of console?
buffi
bjorn.kempen at gmail.com
Sat Sep 15 17:17:50 EDT 2007
On Sep 15, 3:55 pm, wan... at 126.com wrote:
> Hi,everyone: I am a c programmer,and want using Python instead of C
> I can change backcolor using C,like this:
>
> textbackground(color);
>
> How can I do in Python?
>
> Best regards
>
> 点 击 此 处!免 费 试 玩 07 年 最 受 期 待 的 游 戏 大 作 !
textbackground() is not part of the C programming language but rather
a part of an rather old module for msdos.
http://en.wikipedia.org/wiki/Conio.h
If you want terminal colors in python you can use the curses module
but I doubt that it will work in windows.
http://docs.python.org/lib/module-curses.html
More information about the Python-list
mailing list