Read and write binary data

Michael Palmer m_palmer45 at yahoo.ca
Tue Sep 9 20:36:15 EDT 2008


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