PYTHON Learning 0007: Binary relevant ---- 2019-6-6

1, bin () function returns a numeric binary expression. For example bin (342) = '0b101010110' , 0b foregoing is representative of a binary format.
2, ASCII code table: a computer-converted to decimal ASCII code table by writing it. In turn, can be converted into a binary computer can be appreciated.
PYTHON Learning 0007: Binary relevant ---- 2019-6-6
3, punctuation problem:
PYTHON Learning 0007: Binary relevant ---- 2019-6-6
PYTHON Learning 0007: Binary relevant ---- 2019-6-6
wherein each 0 or a 1 'bit is occupied spatial units (bits), which is the smallest unit of measurement computer. When the binary representation of characters, you can omit the leading 0, but when the store binary characters, each character must be represented as 8 bits, which is 8 bits, so that the storage device can recognize.
PYTHON Learning 0007: Binary relevant ---- 2019-6-6

Guess you like

Origin blog.51cto.com/13543767/2405804