Skip to content

Script to combine PDF files using Python (PyPDF2)

License

Notifications You must be signed in to change notification settings

andreika-git/python-combine-pdfs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

python-combine-pdfs

Combine PDF files using PyPDF2.

Usage:

python-combinepdfs file1.pdf file2.pdf fileN.pdf -o output.pdf

Files are combined in the order they are given. Output is optional (defaults to combined.pdf).

Command line parsing code comes from this seed program.

Note

This code is using a workaround for PyPDF2 for the "empty output file wiht Python 3" issue documented here.

PyPDF2 is looking for new maintainers. Once that issue is resolved and a new version is released, the code can be cleaned up by removng the explicit context creation.

About

Script to combine PDF files using Python (PyPDF2)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%