python 2.4后引入新的模块subprocess,用于取代原有的commands模块。利用subprocess可以 ... p = Popen(cmd,stdout=PIPE,stderr=PIPE, shell=True).
確定! 回上一頁