def get_mode(path, follow_symlinks=True):
    return stats(os.path.expanduser(path), follow_symlinks=follow_symlinks).get('mode', '')
Return the mode of a file
dataset/ETHPy150Open saltstack/salt/salt/modules/file.py/get_mode