123456789 import os from pprint import pprint # 只能执行 不能获取返回信息os.system('dir')# 可以获取命令行返回信息 tmp = os.popen('dir ').readlines() pprint(tmp) 赞微海报分享
近期评论