執行成功返回0,否則返回1,在執行的終端會輸出執行結果,但是不能儲存輸出結果。 2、commands.getstatusoutput('cmd'). status ,output = commands.
確定! 回上一頁