How to divide a number by 2 without multiplying or dividing in Python

Multiply by 2:

x = 5
x = x  << 1
print x # 10

dividing by 2:

x = 10
x = x  >> 1
print x # 5