best way to determine sequence ordering?

Kent Johnson kent at kentsjohnson.com
Fri Apr 28 21:54:05 EDT 2006


I V wrote:
> Incidentally, does python have a built-in to do a binary search on a
> sorted list? Obviously it's not too tricky to write one, but it would be
> nice if there was one implemented in C.

See the bisect module.

Kent



More information about the Python-list mailing list