[Numpy-discussion] Save a class

Sturla Molden sturla@molden...
Fri Dec 12 12:51:56 CST 2008


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
>
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion@scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion
>




More information about the Numpy-discussion mailing list