I am using cygwin to run a python script which use a while loop and
time.sleep() to display an output. If I exclude
time.sleep() from inside of loop, cygwin terminal display the output as expected. When I use
time.sleep() function it don't show any output.
import time while True: print "hello world"
This example is working without
import time while True: print "hello world" time.sleep(1)
This code don't display any output in cygwin terminal.