Python 정리
Python - bytes를 String으로 변환하는 방법
아직미정임
2022. 5. 27. 15:41
#bytes
bytes =b'hello world, Python'
print(bytes)
print(type(bytes))
#decode bytes to string
result = bytes.decode('utf-8')
print(result)
print(type(result))