有空自己整理下,详见这里

  1. os模块的execl方法
  2. 使用os模块的system方法
  3. 使用os模块的popen方法
  4. 使用commands模块的getoutput方法

相关文章: