从pdf文件中提取填写的表格数据

时间:2020-02-05 06:56:14

标签: python pypdf2

我想提取填写在表格中的所有值。我可以成功提取文本按钮,但是无法提取是否选中了一个复选框。

The example of selected - Purchase and Unselected - Construction

我使用的代码是:

import PyPDF2
f = PyPDF2.PdfFileReader('test.pdf')
ff = f.getFields()
print(ff)

0 个答案:

没有答案