[Tutor] Does Fredrik Lundh's console module work on Win XP?

Kent Johnson kent37 at tds.net
Tue Nov 28 16:10:01 CET 2006


Dick Moores wrote:
> This seems it might be very useful. I just downloaded and thought I'd 
> installed "console-1.1a1-20011229.win32-py2.5.exe"  in Python 2.5 in 
> Win XP, but I can't get it to appear.

It seems to work for me. Try this program, based on the example in the docs:

import Console

c = Console.getconsole()

c.title("Console Example")

c.text(0, 0, "here's some white text on white background", 0x1f)
c.text(10, 5, "line five, column ten")
c.text(1, 6, "press a key to exit")

c.getchar()


Kent



More information about the Tutor mailing list