[Numpy-discussion] Save a class

2008-12-12 Thread Ross Williamson
Dear all I have a class that contains various data arrays and constants Is there a way of using numpy.save() to save the class so that when I reload it back in I have access to all the member arrays? Thanks Ross ___ Numpy-discussion mailing list

Re: [Numpy-discussion] Save a class

2008-12-12 Thread Sturla Molden
See the module docs for pickle and cPickle. Sturla Molden Dear all I have a class that contains various data arrays and constants Is there a way of using numpy.save() to save the class so that when I reload it back in I have access to all the member arrays? Thanks Ross