On 2010-07-21, Holger brunck <holger.bru...@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..
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to