I am new to python. I am trying to extract mixed fractions from pdf file using Python. But I have no idea which tool I should use to extract. My sample pdf contains only one page with simple text. I would like to extract Part name and length of part using Python. Screenshot of sample pdf page is as shown in image link [Page 1 of Pdf- Screenshot](https://i.stack.imgur.com/E2rrQ.png). Pdf file can be downloaded from the following link [(Sample Pdf)](https://drive.google.com/file/d/1_MOAN_amYrXR6eWM0jVN_HIzwgYf_9YD/view?usp=sharing)

EDIT 1: - UPDATED

Thank you for suggesting Pdfplumber. It is a great tool. I could extract information with it. Though in some cases, when I extract length, I get the whole number combined with denominator. Say, if I have 36 1/2 as length (as shown in screenshot), then I get the value as 362 inches.

```
import pdfplumber
with pdfplumber.open("Sample.pdf") as pdf:
  first_page = pdf.pages[0]
  text = first_page.extract_text()
  for row in text.split('\n'):
        if 'inches' in row:
            num = row.split()[0]
            print(num)

```

Output: 362

This code works for me in most cases. Just in some cases, I get 362 as my output, instead of getting 36 as a separate value. How could I resolve this issue?