PDF extraction using Python
import PyPDF2
file=open('C:\\Users\\ajind3\\Downloads\\entity.pdf','rb')
fileRead=PyPDF2.PdfFileReader(file)
dPage=fileRead.getPage(0)
print(dPage.extractText())
file=open('C:\\Users\\ajind3\\Downloads\\entity.pdf','rb')
fileRead=PyPDF2.PdfFileReader(file)
dPage=fileRead.getPage(0)
print(dPage.extractText())
Comments
Post a Comment