python中调用os.system("ls")报错无法识别ls指令,是什么原因呢?
执行
import os
os.system(“ls”)
窗口显示结果
‘ls’ is not recognized as an internal or external command,
operable program or batch file.
推荐文章: