Python Tutorials: Bitwise Operators In Python

Bitwise operators are used to perform operations at binary digit level. These operators are not commonly used and are used only in special applications where optimized use of storage is required.

Bitwise AND &

Bitwise OR |

Bitwise XOR ^

Bitwise NOT ~

Bitwise Left Shift <<

Bitwise Right Shift >>

Rajesh Kumar
Follow me