def rooted_glob(root, glob):
 return remove_root(root, sorted(glob2.glob('{root}/{glob}'.format(root=root, glob=glob))))

def rooted_glob ( root , glob ) : return remove_root ( root , sorted ( glob2 . glob ( '{root}/{glob}' . format ( root = root , glob = glob ) ) ) )
returns the results of running glob rooted in the directory root .