Database in a simple ascii file
Max M
maxm at normik.dk
Wed Nov 28 09:22:54 EST 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...
> Hi,
>
> 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 ;-)
>
> Thanks!
>
> Rafael Mentz Aquino
>
>
More information about the Python-list
mailing list