[Numpy-discussion] fast constructor for arrays from byte data (unpickling?)

Robert Kern kern at caltech.edu
Tue Aug 7 15:59:37 EDT 2001


On Tue, Aug 07, 2001 at 12:50:04PM -0700, Hung Jung Lu wrote:
> Hi,
> 
> Arrays have a method called tostring() which generates
> the binary data. Is there an inverse function to that?
> That is, generating an array from the binary data
> string?

Numeric.fromstring

HTH.

-- 
Robert Kern
kern at caltech.edu

"In the fields of hell where the grass grows high
 Are the graves of dreams allowed to die."
  -- Richard Harter




More information about the NumPy-Discussion mailing list