摘要:
问题 我用subprocess 执行命令查 主机Ip 报错 command = """ "grep {0} /etc/hosts | awk '{print $1}' " """.format(socket.gethostname()) KeyError: 'print $1' 使用python 阅读全文
posted @ 2023-01-11 16:05
匿名者nwnu
阅读(1121)
评论(0)
推荐(0)