Python: Can you Save an Object and all of it's Associated Values?

49 Views Asked by At

I have an 2D-Array of co-ordinates that has an arbitrary number of factors to each co-ordinate. (Some have associated Boolean values, String values etc.)

Is there any way, to save the array and all of it's associated values - So that i can just load it up, on any arbitrary ocassion?

I also wish for the solution to be Compatible with Compilation.

I am using Python 2.7 and I have tried cPickle, Shelve, Dill, and jsonpickle.

0

There are 0 best solutions below