Created
March 24, 2020 02:22
-
-
Save cristiangomez94/67d7fad94e2d7db2a8d0690e301c2997 to your computer and use it in GitHub Desktop.
PyPDF2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pdfFileObj = open('your_pdf_name.pdf','rb') | |
pdfReader = PyPDF2.PdfFileReader(pdfFileObj) | |
pdfReader.numPages | |
pageObj = pdfReader.getPage(0) | |
print(pageObj.extracText()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment