I\'ve started to use constructs like these:
class DictObj(object): def __init__(self): self.d = {} def __getattr__(self, m): return s
I like dot notation a lot better than dictionary fields personally. The reason being that it makes autocompletion work a lot better.