i have tried PyPDF2
but there is no class defined to extract checkbox values.
import PyPDF2
pdfFileObj = open('C:\Source Files\Fillable_PDF_Sample_from.pdf', 'rb')
pdfReader = PyPDF2.PdfFileReader(pdfFileObj)
print(pdfReader.numPages)
pageObj = pdfReader.getPage(0)
print(pageObj.extractText())
pdfFileObj.close()
Aucun commentaire:
Enregistrer un commentaire