Python reprint

From wikinotes

reprint is a small module that allows you to manage and reprint multiple lines on the console.
Ex: for asynchronous progressbars.
Notably, it does not do this using curses (but I am uncertain if it uses windows).

Documentation

github https://github.com/Yinzo/reprint

Usage

import reprint

# NOTE: internval an integer of milliseconds
with reprint.output(output_type="list", initial_len=2, interval=100) as output_list:
    output_list[0] = 'line 1'
    output_list[1] = 'line 2'