#encoding:utf-8
import os
import fnmatch
class find_file():
def is_file_match(self,filename,patterns):
for pattern in patterns:
if fnmatch.fnmatch(fil
python 遍历文件系统,查找符合条件的文件,带过滤功能
最新推荐文章于 2024-06-18 22:36:02 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)