Python - Byte

Card Puncher Data Processing

Python - Byte

About

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

Empty byte

b''

To

toString

String

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







Share this page:
Follow us:
Task Runner