As a first step, install pdfplumber


Follow this code extract text from PDF file: