[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Any way to home the cursor in win32 console withoutusing curses?



R. Alan Monroe wrote:
Subject says it all. I want to repeatedly display a 2d array in my
program. Right now I just use ordinary print statements, but it would
look a lot nicer if I could move the cursor to the top left of the
window each time and overprint what's already there. I tried printing
the various control characters like form feed and vertical tab, to no
effect. Any suggestions?
it's usually easy to dump text to a corner of the actual pygame window. To work with the actual console in windows, check out the WConio module.
http://newcenturycomputers.net/projects/wconio.html