detect endianness of a binary with python
Grant Edwards
invalid at invalid.invalid
Wed Jul 21 10:02:16 EDT 2010
On 2010-07-21, Holger brunck <holger.brunck at keymile.com> wrote:
> 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?
Only if you already know what's going to be in the file.
> Something like the "file" utility for linux would be very helpfull.
>
> Any help is appreciated.
You're going to have to describe in detail what's in the file before
anybody can help.
--
Grant Edwards grant.b.edwards Yow! A shapely CATHOLIC
at SCHOOLGIRL is FIDGETING
gmail.com inside my costume..
More information about the Python-list
mailing list