Python's primary tool for this is the "struct" module. See the stanard library documentation for more info. Also, remember always to open files in binary mode ("rb") so that people running on windows don't get bizarre failures. Jeff