Feature/gui
This commit is contained in:
parent
c36ab9b733
commit
1512e8efeb
15 changed files with 2328 additions and 299 deletions
|
@ -34,7 +34,6 @@ class Utilities:
|
|||
def progress_bar(self, current, total, barsize = 50):
|
||||
if current > total:
|
||||
print("\033[91mThis bar has exceeded its limits!\033[0m Maybe the current value needs some restraint?")
|
||||
print(f"{(current - total) * '\033[92mHonk, Honk!\033[0m '}")
|
||||
return
|
||||
progress = int((barsize / total) * current)
|
||||
rest = barsize - progress
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue