post process the output information from subprocess.run in Python

后端 未结 0 1356
清歌不尽
清歌不尽 2021-01-31 15:20

I was trying to print cuda information inside Python

import subprocess
subprocess.run(["nvcc","--version"],capture_output=True)
相关标签:
回答
  • 消灭零回复
提交回复
热议问题