Serialising an 8x8x8 array of pygame sounds

Steve D'Aprano steve+python at pearwood.info
Sun Sep 18 09:59:00 EDT 2016


On Sun, 18 Sep 2016 11:20 pm, kerbingamer376 wrote:

> Is it possible to serialise an 8x8x8 array of pygame.mixer.Sound objects,
> so they stay at the same places in the array, but in a format that can be
> pickled, and then the opposite (read from that back to pygame.mixer.Sound
> objects)?

Can you seralise *one* Sound object?

If not, then you can't serialise an array of Sound objects either.



-- 
Steve
“Cheer up,” they said, “things could be worse.” So I cheered up, and sure
enough, things got worse.




More information about the Python-list mailing list