How to implement binary search in python?

How to implement binary search in python?