for k, v in list(myiter.items()):
    if match(k, v, '*'):
        for sk, sv in list(v.items()):
            if match(sk, sv, '*.txt'):
                sv['name'] = 'Woot'
How to glob for iterable element