Alex Martelli <aleaxit at yahoo.com>: > thefile.seek(0) > lines = [ '|'.join(fields) for fields in db ] > thefile.write('\n'.join([ lines ])) > thefile.close() > Hmm, OK I will see what I can do. What about removing a specific _line_ from the db ? I thought about counting \n's.