We're back after a server migration that caused effbot.org to fall over a bit harder than expected. Expect some glitches.

file.flush

flush()

Flush the internal buffer, like stdio‘s fflush(). This may be a no-op on some file-like objects.