Binary search

Rudy Schockaert rudy.schockaert at pandora.be
Thu Jan 16 14:29:04 EST 2003


Sorry guys if I caused so much confusion. I did indeed cancel my first post
as I noticed myself that 'binary search' would cause confusion. What I
actually was looking for was 'searching for a binary sequence in binary
data'.
Martin Lowis gave me the correct code. I was simply not aware I could use
the built in function 'find' on binary data with a binary argument.

Rudy the newby



"Peter Hansen" <peter at engcorp.com> schreef in bericht
news:3E26F3F3.928C67A5 at engcorp.com...
> "Christopher A. Craig" wrote:
> >
> > Peter Hansen <peter at engcorp.com> writes:
> >
> > > Please don't try to change history.  You're conveniently leaving out
> > > part of the query.  An accurate quotation is this:
> >
> > The message you quoted
> > (<4OcV9.12866$ym5.2006 at afrodite.telenet-ops.be>) was posted at
> > Wed, 15 Jan 2003 13:50:08 MET according to Telenet
> >
> > The message Bengt quoted
> > (<vIcV9.12859$ym5.1964 at afrodite.telenet-ops.be>) was posted at
> > Wed, 15 Jan 2003 13:44:11 MET according to Telenet
> >
> > There was only 6 minutes between them, but he is not trying to change
> > history.
>
> I thought there might be a case of cancelled posts involved...
> I never saw the original, I guess, since the first one I saw already
> included the correction.
>
> Usenet...  and users thereof...  ;-)
>
> -Peter






More information about the Python-list mailing list