I want to run a script, which basically shows an output like this:
Installing XXX... [DONE]
Currently, I print Installi
Installi
Use sys.stdout.write('Installing XXX... ') and sys.stdout.write('Done'). In this way, you have to add the new line by hand with "\n" if you want to recreate the print functionality. I think that it might be unnecessary to use curses just for this.
sys.stdout.write('Installing XXX... ')
sys.stdout.write('Done')
"\n"