Need help on Python File write operation.....
jaing08 at gmail.com
Thu Jul 3 05:05:06 CEST 2008
I am stuck at below mention point. I am not able to find any way of doing it
in python. I have google enough to find any sample code but unsuccessful.
I am trying to write a file of size (user specified size) so that it will
pops(remove) the oldest line written (data item) to make room for newest
line (data item ) when max size is reached. I also want to see data update
while program running (some thing like flush() because file size some time
is very huge... so need to check the data copying to file)
Data written in file is a string (array of data of variable length ) ended
Do help me as it is very urgent for me.
Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-list