preallocate list
Jim
jbo at cannedham.ee.ed.ac.uk
Wed Apr 13 13:22:48 EDT 2005
F. Petitjean wrote:
> Le Wed, 13 Apr 2005 16:46:53 +0100, Jim a écrit :
>
>>What I really want is a Numeric array but I don't think Numeric supports
>>importing files.
>
> Numeric arrays can be serialized from/to files through pickles :
> import Numeric as N
> help(N.load)
> help(N.dump)
> (and it is space efficient)
>
>>Jim
Yeah thanks. I'm generating them using Matlab though so I'd have to get
the format the same. I use Matlab because I get the results I want. When
I get to know Python + scipy etc. better I might remove that step.
Thanks again
Jim
More information about the Python-list
mailing list