In order to create a progress bar that show the lode by present
The thinking behind it was to erase the line and then rewrite it so it will look like the current precent.
I tried to do this:
---some kind of loop---:
... downloading stuff ...
b = str((prhelp / 576)*100)
print(b + "%", end="\r")
prhelp = prhelp + 1
At the end I just needed to do:
import time b = str(round((prhelp / 576) * 100,3)) print('\r',end = "") print(b + "%",end = "") time.sleep(0.01) prhelp = prhelp + 1
print('\r',end = "")
I'm removing the last line and makeing place for the next number im writing.
Thanks for all the helpers