On 03/14/2015 06:50 AM, Jason Heeris wrote:
I am trying to automate the use of some old, in-house terminal-based
programs that use screen redrawing for their interface. This includes
single line redrawing (eg. using '\r' and overwriting), complete screen
clearing, and fine-grained cursor movement and overwriting (probably not
all in the same program at the same time though).

Is there a module/library that can help me with this?

https://docs.python.org/3/howto/curses.html

That's in the standard library for both Python2 and 3. I don't know if it'll do everything you need, but if not, there are also various wrappers for curses that can be found with a google search.


--
DaveA
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to