The C standard library `fflush` is used to synchronize the stream on which it is invoked with the actual content of the corresponding file
The standard output stream (stdout) is the stream where a program writes its output data.
"I guess that these lines have shorter output so the fflush frequency is lower i used the stdout line to print a deliberate help message"
from question "Redirecting a .bat-file-containing-executable's stdout to a file"
"Occasionally the stdout needs more than a write method fflush is another common one which stringio will handle"
from question "Silence loggers and printing to screen - Python"