英文:
Is there a way to read password protected PDFs with tabula-py?
问题
我有一些带密码保护的PDF文件,其中包含一些表格(我知道这些密码)。
目前我正在使用PDFminer.six从这些PDF文件中提取文本数据,但我想改用tabula-py来提取表格。
有办法做到这一点吗?
英文:
I have password protected PDFs with some tables. (I have the passwords to them).
Currently I'm using PDFminer.six to extract data from these PDFs to text but I want to use tabula-py instead to extract tables.
Is there a way to do this?
答案1
得分: 1
在阅读文档多花了几分钟后,我意识到 read_pdf 函数接受一个 "password" 参数...
英文:
After spending an extra few minutes on the documentation, I realised that read_pdf accepts a "password" argument....
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论