I have been researching this question, and it seems that it is possible, but not possible on Windows.
I am trying to achieve a loading bar that will print 'Loading', then 'Loading.', 'Loading..'... etc.
This code seems to work on Linux but not Windows(Python 3.5):
x = 0
for x in range (0,5):
#x = x + 1
b = "Loading" + "." * x
print (b, end="\r")
time.sleep(1)
How do I combat this problem?