cost 67 ms
Python 获取多个docx文件名并从文件中提取特定单词以生成dataframe或表格 - Python get multiple docx file names and extract specific words from the files to generate a dataframe or table

我希望读取一个文件夹中的多个word文档(docx文件),然后从每个docx文件中搜索一个特定的单词,例如“laptop”,以生成一个表格或一个dataframe。 例如:在我的文件夹中,我有 file_1.docx、file_2.docx...file_n.docx,每个文件可能包含也可能不包含工 ...


排序:
质量:
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM