detect endianness of a binary with python

Holger brunck holger.brunck at keymile.com
Wed Jul 21 08:57:28 EDT 2010


Hi all,
I use python 2.5 and I am looking for a possibility to determine a file type.
Especially the endianness of a file is needed for me. Is there a way to detect
this easily in python? Something like the "file" utility for linux would be very
helpfull.

Any help is appreciated.

Best regards
Holger Brunck




More information about the Python-list mailing list