Calling Inkscape in Python

Possible Duplicate:
Calling an external command in Python

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


如果你根本不需要与流程进行交流,这应该做得很好:

import subprocess
p=subprocess.call(['program','arg1','arg2','arg3', ...])
链接地址: http://www.djcxy.com/p/13500.html

上一篇: 如何在python中运行dos命令?

下一篇: 在Python中调用Inkscape