> But most of my dictionaries are nested, and since both keys and values
> in the dbm 'dictionaries' have to be strings, I can't immediately see
> how I could get it to work.
>
> A bit more detail: I deal with conditional probabilities, with up to 4
> parameters. These parameters are numbers or
Thanks a lot for your replies. Using a dbm seems to be a very good
solution in some cases.
But most of my dictionaries are nested, and since both keys and
values in the dbm 'dictionaries' have to be strings, I can't
immediately see how I could get it to work.
A bit more detail: I deal wi
Thanks a lot for your replies. Using a dbm seems to be a very good
solution in some cases.
But most of my dictionaries are nested, and since both keys and
values in the dbm 'dictionaries' have to be strings, I can't
immediately see how I could get it to work.
A bit more detail: I deal wi
Arild B. Næss wrote:
> Hi,
>
> I'm working on a python script for a task in statistical language
> processing. Briefly put it all boils down to counting different
> things in very large text files, doing simple computations on these
> counts and storing the results. I have been using pytho
On Fri, Feb 23, 2007, Alan Gauld wrote:
>"Bill Campbell" <[EMAIL PROTECTED]> wrote
>
>>>It seems that an SQL database would probably be the way to go, but I
>>>am a bit concerned about speed issues (even though running time is
>> ...
>> You would probably be better off using one of the hash databas
"Bill Campbell" <[EMAIL PROTECTED]> wrote
>>It seems that an SQL database would probably be the way to go, but I
>>am a bit concerned about speed issues (even though running time is
> ...
> You would probably be better off using one of the hash databases,
> Berkeley, gdbm, etc. (see the anydbm doc
On Fri, Feb 23, 2007, =?ISO-8859-1?Q? Arild_B._N=E6ss ?= wrote:
>Hi,
>
>I'm working on a python script for a task in statistical language
>processing. Briefly put it all boils down to counting different
>things in very large text files, doing simple computations on these
>counts and storing t