Answers for "python format subprocess output"

0

python format subprocess output

import subprocess

output = subprocess.check_output("cat /etc/os-release", shell=True)
output = output.decode("utf-8")
print("Version info: ",output)
Posted by: Guest on September-26-2020

Code answers related to "python format subprocess output"

Python Answers by Framework

Browse Popular Code Answers by Language