On Thu, Jun 17, 2010 at 12:11 PM, Peter <[email protected]> wrote: > On Thu, Jun 17, 2010 at 3:29 PM, greg whittier <[email protected]> wrote: > I'm unclear if you want a numpy array or a standard library array, > but can you exploit the fact that struct.unpack returns a tuple? e.g. > > struct.unpack(">%iH" % count, fd.read(2*count)) > > Peter
I want a numpy array. Robert answered it, but this works also. Thanks, Greg _______________________________________________ NumPy-Discussion mailing list [email protected] http://mail.scipy.org/mailman/listinfo/numpy-discussion
