any or all functions in python python中如何用any(), all()函数
files = [ '1.so', '2.so', '3.so', ] any_so_file = any(f.endswith('.so') for f in files) all_so_file = all(f.endswith('.so') for f in files)