writing binary file for different platform
Martin v. Löwis
loewis at informatik.hu-berlin.de
Fri May 10 09:08:08 EDT 2002
stojek at part-gmbh.de (Marcus Stojek) writes:
> Now I have to prepare such a binary file on my Win system that will
> be read on an IBM machine (IBM AIX 4.3.3.25)
>
> From the doc I guess that I have to add a character to the format
> string (e.g. '<' or '>' ). If this is correct then please could
> someone tell me which one. If not then what else can i do ?
You need to find out how that machine stores bytes in memory, or on
disk; ask someone familiar with this hardware. Saying "AIX some
version" might not be specific enough - you need to know what
microprocessor is in this machine.
Most likely, this is some kind of Power machine; AFAIK, they are
big-endian.
Regards,
Martin
More information about the Python-list
mailing list