Binary, Bytes, and Bitwise Operators in Python
Christopher Trudeau
1:26:18
Description
Computers store all kinds of information as a stream of binary digits called bits. Whether you’re working with text, images, or videos, they all boil down to ones and zeros. Python’s bitwise operators let you manipulate those individual bits of data at the most granular level.
Python isolates you from the underlying bits with high-level abstractions. You’re more likely to find the overloaded flavors of bitwise operators in practice. But when you work with them in their original form, you’ll be surprised by their quirks!
What You'll Learn?
- Read binary numbers
- Perform bitwise math and read truth tables
- Represent fixed and arbitrary precision itegers in Python
- Perform bitwise operations in Python
- Use bitmasks to pack information on a single byte
- Differentiate Big-Endian and Little-Endian byte orders
- Overload Python bitwise operators in custom data types
More details
User Reviews
Rating
Christopher Trudeau
Instructor's CoursesChristopher has a passion for the Python language and writes for Real Python. He is a consultant who helps advise organizations on how to improve their technical teams. Christopher is a strong advocate for automation throughout the delivery process and the power of small teams with well defined goals.
You can find Christopher here:

Real Python
View courses Real Python- language english
- Training sessions 11
- duration 1:26:18
- Release Date 2023/01/05