摘要: 1、bytes 2、string bytes类型转成string,直接使用decode()进行转化。 1 byte_out = stdout.read() 2 print(type(byte_out)) 3 print(byte_out) 4 print(type(byte_out.decode() 阅读全文
posted @ 2017-05-24 22:51 木易_杨 阅读(141) 评论(0) 推荐(0)