how to open a pdf file through a python code in ubuntu code example
Example: read pdf py
import textract
text = textract.process('path/to/pdf/file', method='pdfminer')
import textract
text = textract.process('path/to/pdf/file', method='pdfminer')