# python increasing_file.py >> out.log import os import time import sys while True: print "asdf" sys.stdout.flush() time.sleep(0.01)