skip at pobox.com wrote: > > Madhusudan> How do I flush the buffer and force python to write the > Madhusudan> buffers to the files ? I intend to put this inside the > loop. > > f = open("somefile", "w") > f.write("foo") > f.flush() > > Skip Thanks !!