binary representaion of a number, debug

Martin von Loewis loewis at informatik.hu-berlin.de
Wed Aug 23 09:22:00 EDT 2000


David Broadwell <dbroadwell at mindspring.com> writes:

> First, thanks for the suggestions. Second i have run ito a problem that
> i am not sure how to deal with. I am importing the hexidecimal data from
> a file, preserving the addresses and converting the hex to binary,
> writing back out to a companion file. 

Now I'm confused. If you already have the data in hex, converting them
into binary is much easier if you *not* go through an integer object,
but convert them to binary digit-by-digit, no?

Martin




More information about the Python-list mailing list