Navigation

  • index
  • modules |
  • next |
  • previous |
  • termtools 0.0.9 documentation »
  • Reference »
termtools

Table Of Contents

  • Reference
    • Functions
    • Classes
    • Class Inheritance Diagram
  • Indices and tables
  1. Docs
  2. Reference
  3. print_progress

print_progress¶

termtools.terminal.print_progress(iteration, total, prefix='', suffix='', decimals=2, barLength=50, limit_range=True)[source]¶

Call in a loop to create terminal progress bar

Parameters:
  • int (barLength) – current iteration
  • int – total iterations
  • str (suffix) – prefix string
  • str – suffix string
  • int – positive number of decimals in percent complete
  • int – character length of bar
humanize_time
ProgressBarController

Navigation

  • index
  • modules |
  • next |
  • previous |
  • termtools 0.0.9 documentation »
  • Reference »
© Copyright 2018, Yasser Mohammad. Created using Sphinx.