import os improt sys import re import commands a = commands.getoutput("ls -al /") print a 相关文章: 2021-04-11 2021-12-28 2022-12-23 2022-12-23 2022-12-23