PDF Merger is a Python script that merges multiple PDF files into a single PDF file, sorted alphabetically, using the PyPDF library.
To use this script, you need to have Python 3 installed on your machine. You can download Python from the official website: https://www.python.org/downloads/
- Clone or download this repository to your local machine.
- Open a terminal or command prompt and navigate to the directory where the repository is located.
- Install the PyPDF library by running the following command: pip install -r requirements.txt
-
Place all the PDF files you want to merge in the same directory as the
pdf-merger.py
file. -
Open a terminal or command prompt and navigate to the directory where the
pdf-merger.py
file is located. -
Run the
pdf-merger.py
script by executing the following command: python pdf-merger.py -
The merged PDF file will be saved as
results.pdf
in the same directory as thepdf-merger.py
file.