This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # pip install PyMuPDF | |
| # usage: python merge.py input_file.pdf | |
| import sys | |
| import fitz | |
| def merge_pages(input_file, output_file): | |
| with fitz.open(input_file) as doc: |
OlderNewer