arrays & pickling

namsagga at my-deja.com namsagga at my-deja.com
Sun Dec 26 19:43:02 EST 1999


I tried to pickle a class that has instances of several arrays (in
Python 1.5.1)
I got this message:
	pickle.PicklingError: can't pickle 'array' objects
I would prefer to use arrays rather than lists for size considerations,
but need a way to save them to a file.
Is there a workaround for this kind of problem?
What is the most compact way to save an array to a file?



Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list