![]() |
Handling pdf files with python. - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: Handling pdf files with python. (/thread-36134.html) |
Handling pdf files with python. - fuzzin - Jan-19-2022 I'm working on a project that identifies certain words in a PDF file. Once I find the words, I want to leave them marked in the file. Is it possible to highlight the words in the original PDF file and save or is it only possible to do this by creating a new PDF? I would like library tips so I can research about it. RE: Handling pdf files with python. - ThiefOfTime - Jan-19-2022 I guess those links might come handy in what you want to do: https://realpython.com/pdf-python/#how-to-extract-document-information-from-a-pdf-in-python https://pythonhosted.org/PyPDF2/PdfFileReader.html https://stackoverflow.com/questions/47497309/find-text-position-in-pdf-file/52977595#52977595 https://gist.github.com/agentcooper/4c55133f5d95866acdee5017cd318558 Though I have never done what you want to do. But maybe those are helpful :) |