lire pdf py
import textract
text = textract.process('path/to/pdf/file', method='pdfminer')
Distinct Donkey
import textract
text = textract.process('path/to/pdf/file', method='pdfminer')
>> pip install textract
import textract
text = textract.process('path/to/pdf/file', method='pdfminer')