def extract_pdfminer ( self , filename , * * kwargs ) : stdout , _ = self . run ( [ 'pdf2txt.py' , filename ] ) return stdout
using textract python with a pdf file
Extract text from pdfs using pdfminer .
def extract_pdfminer(self, filename, **kwargs):
        """Extract text from pdfs using pdfminer."""
        stdout, _ = self.run(['pdf2txt.py', filename])
        return stdout