python报错name 'subprocess' is not defined

子流程是一个模块。你需要导入它。

将此作为文件中的第二行:import subprocess

posted @ 2023-04-18 11:10  gbc  阅读(195)  评论(0)    收藏  举报