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

Dick Moores rdm at rcblue.com
Tue Nov 28 19:06:22 CET 2006

At 07:10 AM 11/28/2006, you wrote:
>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")

Yes, that works. I added styles to the 2nd 2 texts, and also added a 
rectangle with a style and a character. Everything works. But what's 
the point? How is this console useful? In games or animation?


More information about the Tutor mailing list