Change python print flush rate

Viewed 171

Is it possible to change the rate that Python flushes content to the console? I know it is possible to add flush = True to the print command (at least in latest version of Python 3) to ensure the content is printed, however, is there a global setting that can be changed so that content is committed to the screen more often, or after a set amount of time.

(essentially, i want to make content be flushed more quickly, or at least in periodic intervals, but not every single print statement which would slow down the code).

1 Answers
Related