Convert SVG file to PDF format in Python

How to convert SVG file to PDF format in Python

To convert SVG file to PDF format using Aspose.PDF Java for Python, simply invoke SvgToPdf module.

Python Code:

options = self.SvgLoadOptions();
doc=self.Document()
pdf = self.Document()
pdf=self.dataDir +'input1.pdf'
Save the output to XLS format
doc.save(self.dataDir + "SVG1.pdf");
print "Document has been converted successfully"

Download Running Code

Download Convert SVG to PDF (Aspose.PDF) from any of the below mentioned social coding sites: