This is a Python script that merges multiple PDF files into a single PDF file.
- Python 3.x
- PyPDF2
- Install the required dependencies:
pip install PyPDF2
-
Place the PDF files you want to merge in the same directory as
main.py
. -
Run the script:
python main.py arg1 arg2 ...
-
Follow the on-screen instructions to provide the names of the PDF files to merge.
-
The merged PDF file will be saved as
merged.pdf
in the same directory.