[Tutor] Problem with logic while extracting data from binary file

Bryan Fodness bryan.fodness at gmail.com
Fri Mar 28 00:03:31 CET 2008


On Thu, Mar 27, 2008 at 6:43 PM, bob gailer <bgailer at alum.rpi.edu> wrote:

> Bryan Fodness wrote:
> > Thanks again,
>
> The problem is that parseSequence gets the length of the block, then, in
> effect, skips to the next block. That bypasses the sub-sequences you want.


>
> parseSquence needs to examine the block for the sub-blocks beginning
> with \n0\x84\x00. This will probably require another while loop.


I will try that.


>
>
> Do you use a debugger? It has been very helpful to me in tracking down
> the problem. What operating system are you running? What IDE or
> development tool are you using?


I have not used a debugger yet, I was getting ready to try that.  I am using
IDLE on Windows Vista.

>
>
> [snip]
>
> --
> Bob Gailer
> 919-636-4239 Chapel Hill, NC
>
>


-- 
"The game of science can accurately be described as a never-ending insult to
human intelligence." - João Magueijo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20080327/ff3e9802/attachment.htm 


More information about the Tutor mailing list