Python os exec 执行shell命令 发表于: 2021-01-21 2021-01-21 分类: SRE 标签: curl, https, python, shell import os ret = os.popen('curl cip.cc').read() print(ret) 文章导航 前一页 上一篇: CentOS7快速安装Python 3.9.1后一页 下一篇: TypeError: the JSON object must be str, bytes or bytearray, not ‘dict’ yew 201RSS订阅