将文件夹下的所有文件名整理到一个 Excel 表格中。当用户提到文件名清单、文件名导出 Excel、文件名汇总时使用。
整理当前文件夹下的文件名到一个 Excel 里
将指定目录下的所有文件名整理到一个 Excel 文件中。
office/skills/file/output_file_list_to_excel/
from office.skills.file import output_file_list_to_excel
output_file_list_to_excel(dir_path='./data')| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
dir_path | str | 是 | - | 目录路径 |
None
from office.skills.file import output_file_list_to_excel
output_file_list_to_excel(dir_path='./我的文件夹')office.api.file.output_file_list_to_excel
2b1996b
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.