> How about sys.byteorder? This doesn't help, as he wants to read files from varying endianess - what the _current_ endianess is doesn't matter here. -- Regards, Diez B. Roggisch