Navigation
index
modules
|
next
|
previous
|
termtools 0.0.9 documentation
»
Reference
»
termtools
Table Of Contents
Reference
Functions
Classes
Class Inheritance Diagram
Indices and tables
Docs
Reference
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
Navigation
index
modules
|
next
|
previous
|
termtools 0.0.9 documentation
»
Reference
»