import time
def threedot():
time.sleep(0.5)
print '.',
time.sleep(0.5)
print '.',
time.sleep(0.5)
print '.'
threedot()
위의 코드를 실행하면 인터프리터는 1.5 초 동안 기다린 다음 '를 인쇄합니다. . '; 인쇄하는 사이에 0.5 초 정도 기다리는 것이 아니라 '.'. 왜 이런거야? (on python 2.7.3)파이썬에서 시간 모듈 시퀀스
당신은 또한 이것을 고려해 볼 수 있습니다 http://stackoverflow.com/questions/881696/unbuffered-stdout-in-python-as-in-python-u-from-within-the-program – jamylak