You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can give the following optional arguments to the ProgressBar constructor:
38
+
- pretext: Text to print before the bar (default "")
39
+
- progresschar: Character to show progress (default '-')
40
+
- loadingchars: Last character of bar moving as bar loads (moves even if no progress) (default "\|/")
41
+
- startendchar: Characters going around the bar (default "[]")
42
+
- barwidth: Length of the bar in characters (does not include optionally printed pretext, progresschar, percentage and count) (default terminal width/2)
43
+
- displaypercentage: Show percentage as well or not (default False)
44
+
- displaycount: Show count as well or not (default False)
45
+
46
+
### Thread parameters
47
+
If you use the thread version, you can customise the refresh time of your progress bar.
48
+
To do this, give an extra argument (type float) representing the refreshing period of the bar.
0 commit comments