I want to make * flash on the command line in a 1 second interval.
import time
from sys import stdout
while True:
    stdout.write(' *')
    time.sleep(.5)
    stdout.write('\r  ')
    time.sleep(.5)
All I get is a blank line, no flashing *.
Why is that?
 
     
     
    