Python: Converting Documents to PDF with Aspose
Table of Contents
Section titled “Table of Contents”Save xml flat file word as pdf
Section titled “Save xml flat file word as pdf”Init uv
Section titled “Init uv”uv add ipython aspose.wordsimport aspose.words as awwb = aw.Document("/Users/cs/Downloads/SOKID_0000000000000000000046334_0.00.xml")wb.save('output.pdf', aw.SaveFormat.PDF)