[Tutor] loop based on a binary number?

Vicki Stanfield vicki at stanfield.net
Wed Mar 10 22:00:18 EST 2004


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




More information about the Tutor mailing list