If I had the following code:
for x in range(10): print x
I would get the output of
1 2 etc..
What I
Since I ended up here via Google but am using Python 3, here's how this would work in Python 3:
for x in range(10): print("Progress {:2.1%}".format(x / 10), end="\r")
Related answer here: How can I suppress the newline after a print statement?