I can't tell if I'm trying to misuse dictionaries but I'd really like to use them to make nested data structures - something I've been doing rather awkwardly with pattr up until now.
I can see a couple of other people on here are trying to do similar things and wondering if anyone has any advice. My biggest problem at the moment is finding a way to get information in without overwriting other entries - kind of along the lines of this http://cycling74.com/forums/topic.php?id=36243
but working with dicts inside dicts with a varying number of levels.
I have tried to do something similar in reverse (i.e. set level nextlevel value) but without any luck. I can post that up if anyone's interested in looking at my messy code.