Search and find content inside PDF files with Python and pdfplumber
Level: Real-World
Project Brief
Your task for this project is to create a Python program that searches inside all the PDF documents in a folder.
If it finds a certain word, it returns:
- the name of the PDF file, and
- the number of the PDF page that contains that word.
The code in the solution section uses the pdfplumber library to process PDF files.
You can use these PDF files as a sample.
Expected Output
Here is an example of how the app would be used by the user:
Keep reading with a 7-day free trial
Subscribe to Daily Python Projects to keep reading this post and get 7 days of free access to the full post archives.


