data = b'111111'
data = str(data, encoding='utf-8')
print(type(data))
data = bytes(data, encoding='utf-8')
print(type(data))
固定格式切换 : data = 想要切换的数据类型(data,encoding=‘utf-8’)
data = b'111111'
data = str(data, encoding='utf-8')
print(type(data))
data = bytes(data, encoding='utf-8')
print(type(data))
固定格式切换 : data = 想要切换的数据类型(data,encoding=‘utf-8’)