Read and write binary data

Michael Palmer m_palmer45 at
Wed Sep 10 02:36:15 CEST 2008

On Sep 7, 6:41 pm, Mars creature <jin... 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
> 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

the struct module should be useful

More information about the Python-list mailing list