两者都可以调用系统的应用程序,区别在哪呢?还有os.startfile()调用可执行文件又怎么理解呢?
os.system(command)如果运行命令卡,程序也卡
os.startfile()
#直接调用可执行的文件,下例子运行脚本,脚本有执行权限os.startfile(r"/usr/local/test.sh")