def get(self,name,default=None):
        """Multilevel get function.
        Code:        
        Config().get('opt.opt_level2.key','default_value')
        """
        if not name: 
            return default
        levels = name.split('.')
        data = self            
        for level in levels:
            try:            
                data = data[level]
            except:
                return default

        return data
Multilevel get function.
        Code:        
        Config().get('opt.opt_level2.key','default_value')
        
recipes/Python/577492_Simple_local_cache_cache/recipe-577492.py