79240483

Date: 2024-11-30 21:06:08
Score: 1
Natty:
Report link

I was having the same problem with a number of pdf readers, including PyPDF2. I was able to eventually find one that works 'out of the box', pdfplumber.

import pdfplumber
pdf = pdfplumber.open('myfile.pdf')
page = pdf.pages[0]
text = page.extract_text()
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: r_user_293582