Call Inkscape in Python

Possible duplicate:
Calling an external command in Python

I am trying to convert SVG files to PDF files in Python. I want to use Inkscape for this. How can I call Inkscape in Python?

+2
source share
1 answer

If you don't need to bind to the process at all, this should be very good:

import subprocess p=subprocess.call(['program','arg1','arg2','arg3', ...]) 
+3
source

All Articles