Table of Contents

Python - Byte

About

Byte (Bit Octet) - Computer storage Unit (8bit) in Python

Empty byte

b''

To

toString

Python - String (str type)

encoding = 'utf-8'
'nico'.decode(encoding)
# or
unicode('nico', encoding)
encoding = 'utf-8'
str(b'nico', encoding)
# or
b'hello'.decode(encoding)