The curses module provides an interface for Python to the curses library, the de-facto standard for portable advanced terminal handling.