[Tutor] loop based on a binary number?

Vicki Stanfield vicki at stanfield.net
Fri Mar 12 13:50:33 EST 2004


Nevermind. I posted this yesterday and have resolved it already.

>
> I am reading in binary data from an instrument using Python. The second
> field in my data is supposed to represent the length (number of bytes of
> binary data). Can I loop based on a binary? Or do I have to convert it?
>
> --vicki
>
> "A pessimist sees the difficulty in every opportunity; an optimist sees
> the opportunity in every difficulty."
>   --  Winston Churchill
>
>
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
>


"A pessimist sees the difficulty in every opportunity; an optimist sees
the opportunity in every difficulty."
  --  Winston Churchill




More information about the Tutor mailing list