purging file buffers - to make new data be written to file

ddoc news at 92tr.freeserve.co.uk
Sun Apr 7 18:32:56 EDT 2002


Can I do that from within a python script, or do I have to give a command 
line argument to make Python start without buffers?

On Linux.  The program is to save a memo in a slightly organised format, 
but I find the file is not written until Python exits.

-- 
A



More information about the Python-list mailing list