Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions pymove/utils/log.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,12 @@ def progress_bar(
miniters : int, optional
Represents the steps in which the bar will be updated, by default None.

Return
------
>>> from pymove.utils.log import progress_bar
>>> for i in progress_bar(range(1,101), desc='Print 1 to 100'):
>>> print(i)
# A bar that shows the progress of the iterations
"""
if logger.level > logging.INFO:
return sequence
Expand Down