I would like to periodically output a progress percentage but don't want a huge list of numbers cluttering the rest of the outputs. How can this be accomplished?
print("hello")
print("\rworld")
This doesn't work because \r adds a new line.
I would like to periodically output a progress percentage but don't want a huge list of numbers cluttering the rest of the outputs. How can this be accomplished?
print("hello")
print("\rworld")
This doesn't work because \r adds a new line.