python怎么处理byte数组或者二进制的字符串

2025-03-05 05:13:14
推荐回答(1个)
回答1:

str_object.encode('utf-8'); python3可用,2不太清楚,只要你把他编码成unicode就是!