def __getattr__(self, name):
        "Get a Namespace or Parameter value by its original name."
        if '.' in name:
            head, tail = name.split('.', 1)
            return self[head][tail]
        if name in self.__dynamic:
            return self.__dynamic[name]
        attr = self.__original.get(name)
        if isinstance(attr, Namespace):
            return attr
        if isinstance(attr, Parameter):
            return attr.value
        raise AttributeError(name)
Get a Namespace or Parameter value by its original name.
recipes/Python/578195_Setting_Namespaces/recipe-578195.py