code: def _path(self, attrpath):
          
  
          attr, _, subpath = attrpath.partition(".")
          if attr not in self.__dict__:
              self.__dict__[attr] = Namespace()
              self.__namespaces.add(attr)
  
          if subpath:
              return self.__dict__[attr]._path(subpath)
          else:
              return self.__dict__[attr]
docs: Returns the namespace object at the given .-separated path,
          creating any namespaces in the path that don't already exist.