Python 3 Bytes.decode 遇到的问题¶. 使用Python 3 的 Subprocess 模块执行shell 命令,读取到的结果的类型是 bytes ,如果是文本需要转成 str 类型。
確定! 回上一頁