Execute terminal commands in python3
This question already has an answer here:
使用子流程模块:
import subprocess
subprocess.Popen(["fswebcam", "image.jpg"])
链接地址: http://www.djcxy.com/p/13496.html
下一篇: 在python3中执行终端命令