We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 765be44 + 3fb557d commit c931a53Copy full SHA for c931a53
PDF_Merger/pdfmerger.py
@@ -1,5 +1,6 @@
1
import PyPDF2
2
3
+
4
def merge_pdfs(output_filename, input_files):
5
pdf_merger = PyPDF2.PdfMerger()
6
@@ -15,6 +16,7 @@ def merge_pdfs(output_filename, input_files):
15
16
17
print(f"PDFs merged successfully! Output file: {output_filename}")
18
19
20
def main():
21
print("PDF Merge Tool")
22
print("Please enter the names of the two PDF files to merge:")
@@ -28,5 +30,6 @@ def main():
28
30
29
31
merge_pdfs(output_filename, input_files)
32
33
34
if __name__ == "__main__":
35
main()
0 commit comments