What are python's equivalents of std::lower_bound and std::upper_bound C++ algorithms?
<p>Does python provide functions for performing binary search on sorted lists, analogous to the <code>std::lower_bound</code> and <code>std::upper_bound</code> algorithms of the C++ Standard Library?</p>