python 调用 shell 命令时间:2023-03-09 07:26:42 记录 python 调用 shell 命令的方法 加载 os 模块, 使用 os 类 import os; os.system("ls /");