可能重复: Calling an external command in Python
我试图在Python中将SVG文件转换为PDF。我想用Inkscape来做这个。如何在Python中调用Inkscape?
发布于 2012-07-25 14:19:22
如果您根本不需要与流程进行通信,这应该会做得很好:
import subprocess p=subprocess.call(['program','arg1','arg2','arg3', ...])
https://stackoverflow.com/questions/11651826
相似问题