preallocate list

F. Petitjean littlejohn.75 at news.free.fr
Wed Apr 13 12:36:18 EDT 2005


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



More information about the Python-list mailing list