printProgressBar

printProgressBar#

Class method.

printProgressBar(iteration, total, prefix='', suffix='', decimals=1, length=100, fill='█', printEnd='\\r')[source]#

Print a progress bar to the console.

Parameters:
  • iteration (int) – Current iteration

  • total (int) – Total iterations

  • prefix (str) – Prefix string

  • suffix (str) – Suffix string

  • decimals (int) – Positive number of decimals in percent complete

  • length (int) – Character length of bar

  • fill (str) – Bar fill character

  • printEnd (str) – End character

This page is auto-generated. Page source is not available on Github.