[EMAIL PROTECTED] wrote:
> I would like to change the Endianess of a large of data written on PC so I 
> can process it on a Solaris box.  I see that the dtype.str attribute is 
> read-only.
> 
> TIA
> 
> David Lees
> 
> 

You can use the byteswap method to change the byte order of your array.

 >>> obj = obj.byteswap()


-- 
Christopher Hanley
Systems Software Engineer
Space Telescope Science Institute
3700 San Martin Drive
Baltimore MD, 21218
(410) 338-4338
_______________________________________________
Numpy-discussion mailing list
[email protected]
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to