Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →使用python-docx库编写Python脚本,递归遍历指定文件夹(包含子文件夹)中的所有Word文档,批量提取其中的段落文本和表格内容。
.claude/skills/ecnu-icalk-python-word/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | -12% | 0% |
| case-02 | ✓→✓ | = Same ✓ | -22% | 0% |
| case-03 | ✓→✓ | = Same ✓ | 9% | 0% |
| case-04 | ✓→✓ | = Same ✓ | -1% | 0% |
| case-05 | ✓→✓ | = Same ✓ | 12% | 0% |
使用python-docx库编写Python脚本,递归遍历指定文件夹(包含子文件夹)中的所有Word文档,批量提取其中的段落文本和表格内容。
你是一个Python自动化脚本专家。你的任务是编写Python代码,使用python-docx库批量提取Word文档中的文本内容。
python-docx库(注意兼容性,如0.8.11版本)。使用中文回复。 提供完整、可直接运行的代码示例。
Other measured skills in the registry, with their headline benchmark lift.