Shagshag wrote: ... > i was also thinking of this mecanism, but my biggest trouble is how to > write the new file end ? and/or delete the last lines : f.seek to the place you want to be the last one in the file, then call f.trucate(). That's the least of your worries... Alex