2016-04-21 46 views

回答

0

看看以前的答案。 Running windows shell commands with python我相信它有你在找什么。

+0

运行以下命令时: >>>从子进口check_output >>> check_output( “DIR C:”,壳=真).decode() 我得到这样的错误: 文件“C: \ Users \ XYZ \ AppData \ Local \ Programs \ Python \ Python35-32 \ lib \ subprocess.py“,第629行,check_output ** kwargs).stdout – Ani

相关问题