put multiple print statements same line python code example
Example: python 2 print in same line
from __future__ import print_function
print("\r Running... xxx", end="") # works across both major versions
from __future__ import print_function
print("\r Running... xxx", end="") # works across both major versions