On Sep 15, 3:55 pm, [EMAIL PROTECTED] 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 -- http://mail.python.org/mailman/listinfo/python-list