摘要: 转载 原文地址:https://www.cnblogs.com/yanweifeng/p/10578000.html https://www.cnblogs.com/hei-ma/articles/13220438.html json.Marshal() JSON输出的时候必须注意,只有导出的字段( 阅读全文
posted @ 2021-01-18 22:13 远洪 阅读(5) 评论(0) 推荐(0) 编辑
摘要: # -*- coding:utf-8 -*- from subprocess import * p = Popen('df -Th', stdout=PIPE, stderr=PIPE, shell=True ) p.wait() out = p.stdout.read() print out p 阅读全文
posted @ 2021-01-18 15:19 远洪 阅读(2010) 评论(0) 推荐(0) 编辑