Combine PDF files With PDFCombineX and Python

Please, download and install PDFCombineX. Using the sample code below you will be able to PDF files.

 

  Example Python:

import win32com.client
import os.path

c = win32com.client.Dispatch("PDFCombine.PDFCombineX")

src="C:\\test\\test1.pdf/nC:\\test\\test2.pdf";
dest="C:\\test\\DestCombine.pdf";

c.convert(src, dest, "-c PDF -log c:\\test\\PDFCombine.log");

if not os.path.exists(file_path):
  print(c.ErrorMessage)
If you need examples on other languages please contact us. We will create any example specially for you.