Read and write binary data

Kurt Smith kwmsmith at
Mon Sep 8 19:10:41 CEST 2008

On Sun, Sep 7, 2008 at 5:41 PM, Mars creature <jinbow at> wrote:
> Hi guys,
>  I am new to Python, and thinking about migrating to it from matlab
> as it is a really cool language. Right now, I am trying to figure out

If you're trying to migrate from matlab to python I'd take a look at numpy:

And scipy which is built on top of numpy:

There is a plotting/numerical computation package known as matplotlib
that does its best to parallel matlab commands:

There is support for reading and writing binary data, even fortran records.

And last but not least, you can always take a look at the scipy and
numpy mailing lists.

Good luck,


> how to control read and write binary data, like
> 'formatted','stream','big-endian','little-edian' etc.. as in fortran.
> I googled, but can not find a clear answer. Anyone has clue where can
> I learn it? Thanks!!
> Jinbo
> --

More information about the Python-list mailing list