On May 10, 7:11 pm, Jon Pentland <[EMAIL PROTECTED]> wrote:
> I don't really see the use for being able to do that. Have you tried
>

Well, I think I found a reason and it probably happens quite a bit.

I open the file and read it into a list. I pop some elements from the
list for processing and then write the shortened list back to disk to
be available for other functions to access later, where later varies
from seconds to days. There is no need to keep the file open till
after the processing so I wish to write/flush/close right away.

jvh

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to