som = SOM_CLASS() # includes many big difficult data structures
som.hard_work()
som.save_to_disk(filename)
#then later or another program
som = SOM_CLASS()
som.read_from_file(filename)
som.do_anythink_else()
oderwie zum Speichern/Lesen Klasse vollständig in Python
som = SOM_CLASS()
save(som)
#...
load(som)
som.work()
was einfachste Weg ist, dies zu tun?
Eine andere Anforderung? Geschwindigkeit/Größe/Sicherheit/Portabilität? http://docs.python.org/library/json.html könnte eine Option sein. – voyager
Anforderung = einfach und schnell, dies zu tun und eine andere Arbeit) – Mike