How To Use Bitwise Operators in Python

preview_player
Показать описание
In this video, I cover how to use Bitwise operations in Python. Bitwise operations allows us to manipulate individual bits and data types. I show how to encode a string using bit shifting.

I mistakenly said we represent one byte with 4 bits, it's actually 8 bits.
Рекомендации по теме
Комментарии
Автор

pretty solid but you forgot thr 0b bytes format (bytes: int = 0b1011010), the bytes and byte stream (or whatever it was called) type also the basic logical funcs (and, and, or xor etc.)

compositeboson
visit shbcf.ru