News for hackers. Stuff that matters.
Re:Box: Python dictionaries with recursive dot notation access by sampwing on Friday May 05, 2017 @07:24PM (#14277567)
If all you want is the dot and indexing syntactic sugar:

  class Box(dict):
    def __init__(self, **kwargs)
      super(Box, self).__init__(kwargs)
      self.__dict__.update(kwargs)

There are no comments on this comment yet.