/docx2pdf

convert docx to pdf on Windows by MS Office/WPS Office/LibreOffice

Primary LanguagePythonMIT LicenseMIT

docx2pdf

convert docx to pdf on Windows by MS Office/WPS Office/LibreOffice

OS

Only Windows is supported

Install

You should first install MS Office/WPS Office/LibreOffice

pip install -r requirements.txt

Usage

from convert import convert_to_pdf
convert_to_pdf("C:/test/out.docx", "C:/test/out.pdf")