Possible Duplicate:
Calling an external command in Python
我正在尝试使用 Python 将 SVG 文件转换为 PDF。我想为此使用 Inkscape。如何在 Python 中调用 Inkscape?
最佳答案
如果您根本不需要与进程通信,这应该就可以了:
import subprocess
p=subprocess.call(['program','arg1','arg2','arg3', ...])
关于python - 在 Python 中调用 Inkscape,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11651826/