Is Python suitable for some binary file editing?
Bill Tate
tatebll at aol.com
Sat Dec 8 13:35:15 EST 2001
David Rollo <drollo at cns.net.au> wrote in message news:<3C114E77.14180DAE at cns.net.au>...
> Thanks to all for these very helpful comments and advice.
>
>
> David Rollo
David,
Here's one more you might find interesting and perhaps relevant. I
was on a project where we were building a GIS package designed to feed
a rather large environmental model. A critical feature of the GIS was
the need to be able to import commonly used GIS file formats, in
particular, ESRI shapefiles (*.shp). Shape files are in a binary
format but, to make things interesting, the file structure
intentionally mixes big endian and little endian encodings for certain
types of geographic features. Moral of the story - use Python and
save yourself a damn lot of headaches.
Bill
More information about the Python-list
mailing list