dictionary of lists of dictionaries in python
- by Andy
I'm a perl scripter working in python and need to know a way to do the following perl in python.
$Hash{$key1}[$index_value]{$key2} = $value;
I have seen the stackoverflow question here: List of dictionaries, in a dictionary - in Python
I still don't understand what self.rules is doing or if it works for my solution.
My data will be coming from…