WindowsError:[Errno 2] The system cannot find the file specified
WindowsError:[Errno 2] The system cannot find the file specified: 'C:\\Windows\\system32\\cmd.exe;C:\\Windows\\system32\\ping.exe /c ipconfig'
python代码中抛出上面异常,求大神指导可能是什么原因导致的。
代码中有这么一行代码:
os.popen('ipconfig')