Commit Graph

3 Commits

Author SHA1 Message Date
Steve Dogiakos 43e8fd329f
Fixed pdf movement getting stuck
Fixed it so that with Open(file_path, 'rb') as infile block is fully exited before shutil.move is called. Exiting the with block ensures that infile is closed.
2024-02-10 13:54:04 -07:00
Steve Dogiakos 3856a2c905
Fix PyPDF2 library deprecation
Updated script to use PdfReader to read the PDF files and PdfWriter to create new PDF files for each split page.
2024-02-10 13:52:10 -07:00
Steve Dogiakos f3cee999ea
Create pdf_splitter.py
First Commit
2024-02-10 13:49:26 -07:00