En Sat, 24 Feb 2007 14:27:12 -0300, Toby <[EMAIL PROTECTED]> escribió:
> I ended up writing my own byteswapper in Pyrex: You can use the byteswap method of arrays: >>> import array >>> a = array.array('H', 'ABcd56') >>> a.tostring() 'ABcd56' >>> a.byteswap() >>> a.tostring() 'BAdc65' -- Gabriel Genellina -- http://mail.python.org/mailman/listinfo/python-list