Goal: Find the largest number in this large pdf document. The unit is not important (could be dollars, years, pounds, etc), output the greatest numerical value in the document.
- Download and install Python.
- Install the PyPDF2 library:
pip install PyPDF2
- Ensure that the pdf file is in the same directory as the python script.
- Run the program using either method:
- Using a terminal, change the working directory into the same directory as the python script and the pdf file, then use
python pdf_extract_largest_num.py
, or - Open a code editor that can run jypter notebook files and press "Run all" on the
pdf_extract_largest_num.ipynb
file.
- Using a terminal, change the working directory into the same directory as the python script and the pdf file, then use