Python Forum
Handling pdf files with python.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Handling pdf files with python.
#1
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.
Reply
#2
I guess those links might come handy in what you want to do:
https://realpython.com/pdf-python/#how-t...-in-python
https://pythonhosted.org/PyPDF2/PdfFileReader.html
https://stackoverflow.com/questions/4749...5#52977595
https://gist.github.com/agentcooper/4c55...17cd318558
Though I have never done what you want to do. But maybe those are helpful :)
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Star python exception handling handling .... with traceback mg24 3 1,217 Nov-09-2022, 07:29 PM
Last Post: Gribouillis
  Handling Python Fatal Error richajain1785 7 5,762 Oct-14-2021, 01:34 PM
Last Post: Tails86
  Handling multi-input/output audio in python bor1904 4 3,496 Nov-04-2020, 08:25 AM
Last Post: CHLOVRL
  Python Requests package: Handling xml response soumyarani 1 2,103 Sep-14-2020, 11:41 AM
Last Post: buran
  Handling Multiple USB ports in Python samalpramod 0 4,364 Aug-01-2020, 07:40 PM
Last Post: samalpramod
  Exception handling in regex using python ShruthiLS 1 2,330 May-04-2020, 08:12 AM
Last Post: anbu23
  Python Logging and Handling phillyfa 2 4,490 Mar-20-2020, 05:13 PM
Last Post: phillyfa
  Handling Large XML Files (>10GB) in Python onlydibs 1 4,142 Dec-22-2019, 05:46 AM
Last Post: Clunk_Head
  Handling Thick client applications using Python PraveenSubramaniyan 1 3,177 Jul-22-2019, 01:08 PM
Last Post: DeaD_EyE
  problem using custom exception handling in python srm 3 3,000 Jul-03-2019, 09:10 PM
Last Post: ichabod801

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020