March 2003
Intermediate to advanced
656 pages
39h 30m
English
flush
f.flush( )Requests that f’s buffer
be written out to the operating system, ensuring that the file as
seen by the system has exactly the contents that
Python’s code has written to
f. Depending on the platform and on the
nature of f’s underlying
file, f
.flush may or
may not be able to ensure the desired effect.