在Python中,可以使用os 模块的os.listdir 函数获取目录中的文件列表,然后根据文件名筛选文件。 具体代码如下: import os def filter_files(directory, ...
確定! 回上一頁