Re: Multidimensional dicts

2019-09-06 Thread Cameron Simpson
On 06Sep2019 22:48, Ralf M. wrote: Recently I wrote a quick and dirty script to do some counting and statistics. When I re-read it a bit later I noticed that I had been using two different ways to create two-dimensional (default-)dicts. Now I'm wondering whether one of them is "better" or

Multidimensional dicts

2019-09-06 Thread Ralf M.
Recently I wrote a quick and dirty script to do some counting and statistics. When I re-read it a bit later I noticed that I had been using two different ways to create two-dimensional (default-)dicts. Now I'm wondering whether one of them is "better" or more pythonic than the other. What I