Re: Unpacking Binary Data - not using struct module

2004-12-16 Thread Richard Brodie
"Geoffrey" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > 1) Does anyone recognize this numeric format ? Google :) http://www.room42.com/store/computer_center/packed_decimal.shtml -- http://mail.python.org/mailman/listinfo/python-list

Re: Unpacking Binary Data - not using struct module

2004-12-16 Thread Scott David Daniels
Geoffrey wrote: I am working on a file conversion project that reads data from a one file format, reformats in and writes in out to another. The data is records of informations - names address, account number,statistics. The numeric values in the original file are stored in what appears to be a "p

Re: Unpacking Binary Data - not using struct module

2004-12-16 Thread Laurent Pointal
Geoffrey wrote: My questions ... 1) Does anyone recognize this numeric format ? Seem to be some decimal coded binary, where you only use hexa from 0 to 9, coding corresponding decimal digits. The trailing hexa F may be used to indicate the end of the number (if number can have variable length) as

Unpacking Binary Data - not using struct module

2004-12-15 Thread Geoffrey
I am working on a file conversion project that reads data from a one file format, reformats in and writes in out to another. The data is records of informations - names address, account number,statistics. The numeric values in the original file are stored in what appears to be a "packed" data for