Screen Control in WinXP and Linux
Gabriel Genellina
gagsl-py2 at yahoo.com.ar
Tue Apr 17 19:27:06 EDT 2007
En Tue, 17 Apr 2007 19:06:38 -0300, peter <peter.mosley at talk21.com>
escribió:
> I've been wrestling on and off with this problem for over a year now,
> without success. Basically, I am looking for a simple set of screen
> and keyboard manipulation commands that will run identically under
> Linux and Windows. Nothing fancy - just clear the screen, print a
> string at an arbitrary xy position and detect a keystroke. I've
> googled around this newsgroup and elsewhere, and come across various
> suggestions (and even posted my own partial solutions), but still
> haven't come up with an elegant solution.
What about curses (Linux) and Console (XP)? You could wrap just the bits
needed for your application in a more-or-less generic way.
--
Gabriel Genellina
More information about the Python-list
mailing list