I want to run a script, which basically shows an output like this:
Installing XXX... [DONE]
Currently, I print Installi
Installi
sys.stdout.write will print without return carriage
sys.stdout.write
import sys sys.stdout.write("installing xxx") sys.stdout.write(".")
http://en.wikibooks.org/wiki/Python_Programming/Input_and_output#printing_without_commas_or_newlines