1

I have two things I need this for, these should explain what I mean:

  1. To have a 'shell popup' of sorts, like man does, that can be removed when done
  2. To have a blinking ellipsis (...) for visual effect

Is there any standard Python way to do this? Could I 'unprint' the last line and reprint it?

tkbx
  • 14,366
  • 27
  • 82
  • 118

2 Answers2

3

Look at curses module.

See also: curses-like library for cross-platform console app in python

Community
  • 1
  • 1
warvariuc
  • 53,721
  • 35
  • 166
  • 222
2

I have no experience with it, but you may want to look at Python's interface to the curses library: http://docs.python.org/library/curses.html

highBandWidth
  • 15,945
  • 18
  • 80
  • 129
lindelof
  • 33,308
  • 31
  • 92
  • 136