【问题标题】:How to find some pdf files contain some keyword using python [closed]如何使用python查找一些包含一些关键字的pdf文件[关闭]
【发布时间】:2017-12-15 07:45:09
【问题描述】:

我在一个目录中的 pdf 文件中有数百篇关于许多主题的文章。我需要从这数百篇文章中指出一些包含关键字git loggit diff 命令的论文。然后,我会将选定的文章收集到一个列表中。

我们如何使用 Python 做到这一点?

【问题讨论】:

标签: python git pdf logging diff


【解决方案1】:

如果你不反对使用库,你可以使用 https://github.com/euske/pdfminer

我已经为nodejs做了一些事情,只是递归扫描目录并使用pdfminer扫描每个文件并使其返回结果。

祝你好运!

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2019-08-07
    • 1970-01-01
    • 2012-02-13
    • 1970-01-01
    • 2021-09-08
    • 1970-01-01
    • 2014-01-24
    相关资源
    最近更新 更多