[Tutor] manipulating a file

Alan Gauld alan.gauld at freenet.co.uk
Tue Feb 8 00:55:27 CET 2005

> without the explicit newlines in file.write(i), could it be that the
> file was closed before the write buffer was ever flushed?

No because close() was called explicitly, which does a flush first...

Alan G.

More information about the Tutor mailing list