I would like to make several statements that give standard output without seeing newlines in between statements.
Specifically, suppose I have:
for it
change
print item
to
print "\033[K", item, "\r", sys.stdout.flush()