Skip to content

Instantly share code, notes, and snippets.

View cristiangomez94's full-sized avatar
:octocat:
Working from home

Cristian Gomez cristiangomez94

:octocat:
Working from home
  • Globant
  • Argentina
View GitHub Profile
pdfFileObj = open('your_pdf_name.pdf','rb')
pdfReader = PyPDF2.PdfFileReader(pdfFileObj)
pdfReader.numPages
pageObj = pdfReader.getPage(0)
print(pageObj.extracText())