How to prase the pdf and get it's element to save in database #889
751320829
started this conversation in
Ask for help with specific PDFs
Replies: 1 comment 2 replies
-
If all you need is the income, you can do something like this: import pdfplumber
pdf = pdfplumber.open("path/to/my/file.pdf")
page = pdf.page[0]
result = page.search(r"Income\s+([\d,\.\-]+)") ... and then examine the |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
i have a amazon summary pdf
like this
i want to convert to a object like
class a:
Income=123.0
please tell me how to do it
Beta Was this translation helpful? Give feedback.
All reactions