python遍历文件夹下所有文件

在Python中,可以使用os模块来遍历文件夹下的所有文件。以下是一个简单的示例代码:```pythonimport osdef list_files_in_directory(dire