Database in a simple ascii file
maxm at normik.dk
Wed Nov 28 15:22:54 CET 2001
You could also just use the anydb module.
It should do the same thing.
Or you could pickle a dictionary.
Regards Max M
"Rafael Mentz Aquino" <pythonlist at zumnet.com.br> wrote in message
news:mailman.1006944636.11546.python-list at python.org...
> How many lines can I have in a simple ascii file before
> I start to loose performance when I open this file and
> put all the lines in a dict, turning the first column into the key
> and the rest of the line into a list associated to that key.
> (my file has just 100 lines, but that question starts to bother me ;-)
> Rafael Mentz Aquino
More information about the Python-list