rminstr.utilities.graphics

Module for storing classes/functions that produce simple graphics.

Functions

progressbar(msg, total, progress)

Display a progress bar.

Module Contents

rminstr.utilities.graphics.progressbar(msg: str, total: int, progress: int)

Display a progress bar.

Call at the end of a loops iteration, re-prints on same line.

Parameters:
msgstr

Message to print out.

totalint

Total number of iterations expected. Start at 0.

progressint

Current iteration.