I’m trying to do something like this:
print "Processing… "
#some fancy code that takes ages, or maybe:
I was expecting to get the following output on my console:
Processing… [and after 3 secs:]done
However, the script first waits 3 seconds and then writes the whole line
at once. If I change the first line to
everything works as expected. But that’s not really what I want. Is
there another way of doing this?