Books Database

Eliran Gonen eg at rootshell.be
Thu Mar 6 11:01:15 EST 2003


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.





More information about the Python-list mailing list